C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff2 fff1 fff0 fff3 fff4 fff2 fff1 fff0 fff3 fff4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} Error 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 None of These Error 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} N None of These P M N None of These P M ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: float *ptr; *float ptr; float ptr; None of these float *ptr; *float ptr; float ptr; None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. All of these Helps to avoid repeated programming across programs. Makes the debugging task easier. Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. All of these Helps to avoid repeated programming across programs. Makes the debugging task easier. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 1 10 14 None of these 0 1 10 14 None of these 0 ANSWER DOWNLOAD EXAMIANS APP