C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 – 1 None of these 216 – 1 215 216 215 – 1 None of these 216 – 1 215 216 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} ERROR RED RED WHITE BLUE RED ERROR RED WHITE BLUE ERROR ERROR RED RED WHITE BLUE RED ERROR RED WHITE BLUE ERROR ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 33 1 -1 0 Compilation Error 33 1 -1 0 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} None of these 6 0 1 10 None of these 6 0 1 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Compilation Error Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of these Compilation Error Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of these 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 and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ANSWER DOWNLOAD EXAMIANS APP