C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 11 11, 11 10, 10 11, 10 10, 11 11, 11 10, 10 11, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 3 3 10 5 4 3 10 5 4 4 10 5 3 4 10 5 5 5 10 5 3 3 10 5 4 3 10 5 4 4 10 5 3 4 10 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 I, III and IV II and III III and IV I, II and III I and II I, III and IV II and III III and IV I, II and III I and II ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns true 1 -1 0 None of these true 1 -1 0 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} Complier error 0 5.600000 5 5.600000 6 5.600000 Complier error 0 5.600000 5 5.600000 6 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Will make an infinite loop. Error None of these. Some address will be printed. Will make an infinite loop. Error None of these. Some address will be printed. ANSWER DOWNLOAD EXAMIANS APP