C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff1 fff3 fff0 fff4 fff2 fff1 fff3 fff0 fff4 fff2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} ij!gsjfoet hj grjeodt hi friends None of These ij!gsjfoet hj grjeodt hi friends None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) None of these 50 10 30 15 None of these 50 10 30 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } Syntax error 4 5 6 7 Runtime error 1 2 3 4 4 Syntax error 4 5 6 7 Runtime error 1 2 3 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} 65 c A Error 65 c A Error ANSWER DOWNLOAD EXAMIANS APP