C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 2 1 2 2 1 1 1 2 2 1 2 2 1 1 1 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));} Runtime error 100 Syntax error 10012 g##g2 Runtime error 100 Syntax error 10012 g##g2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff4 fff3 fff0 fff2 fff1 fff4 fff3 fff0 fff2 fff1 ANSWER DOWNLOAD EXAMIANS APP
C Programming "My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above. printf("My salary was increased by 15%%!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15%!"); ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 3 1 0 0 0 2 1 0 0 1 3 0 0 0 1 2 0 0 0 1 3 1 0 0 0 2 1 0 0 1 3 0 0 0 1 2 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} hi friends ij!gsjfoet None of These hj grjeodt hi friends ij!gsjfoet None of These hj grjeodt ANSWER DOWNLOAD EXAMIANS APP