Design an implement of the inputs functions for event mode
No Answer is Posted For this Question
Be the First to Post Answer
main ( ) { static char *s[ ] = {“black”, “white”, “yellow”, “violet”}; char **ptr[ ] = {s+3, s+2, s+1, s}, ***p; p = ptr; **++p; printf(“%s”,*--*++p + 3); }
Print an integer using only putchar. Try doing it without using extra storage.
String reverse with time complexity of n/2 with out using temporary variable.
Declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
main() { char not; not=!2; printf("%d",not); }
write a c-program to display the time using FOR loop
write a program in c language to get the value of arroy keys pressed and display the message which arrow key is pressed?
main( ) { static int a[ ] = {0,1,2,3,4}; int *p[ ] = {a,a+1,a+2,a+3,a+4}; int **ptr = p; ptr++; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); *ptr++; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); *++ptr; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); ++*ptr; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); }
main() { char c; int i = 456; clrscr(); c = i; printf("%d", c); } a. 456 b. -456 c. random number d. none of the above
write a origram swaoing valu without 3rd variable
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
main() { int y; scanf("%d",&y); // input given is 2000 if( (y%4==0 && y%100 != 0) || y%100 == 0 ) printf("%d is a leap year"); else printf("%d is not a leap year"); }