C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 20 Compiler Error Linker Error 2 20 Compiler Error Linker Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} 12 13 14 11 Compilation error 12 13 14 11 Compilation error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? Program do no return a value. -1 1 2 Program do no return a value. -1 1 2 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);} 5 5.600000 0 5.600000 Complier error 6 5.600000 5 5.600000 0 5.600000 Complier error 6 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Some address will be printed Hello H None of these. Some address will be printed Hello H None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 24 6 12 7 It will not compile because not enough initializers are given 24 6 12 7 It will not compile because not enough initializers are given ANSWER DOWNLOAD EXAMIANS APP