C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff2 fff4 fff3 fff0 fff1 fff2 fff4 fff3 fff0 fff1 ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by value None of these. call by value result call by reference call by value None of these. call by value result call by reference ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 12 14 13 Compilation error 11 12 14 13 Compilation error 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 2 5 5 2 4 5 5 5 5 2 4 4 2 5 5 2 4 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} 100 Syntax error 10012 g##g2 Runtime error 100 Syntax error 10012 g##g2 Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 4, 4 0, 2 2, 2 2, 0 2, 4 4, 4 0, 2 2, 2 2, 0 2, 4 ANSWER DOWNLOAD EXAMIANS APP