C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 10 10, 11 11, 11 11, 10 10, 10 10, 11 11, 11 11, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); Syntax error 0 Infinite loop 0123456789 10 Syntax error 0 Infinite loop 0123456789 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} ij!gsjfoet None of These hi friends hj grjeodt ij!gsjfoet None of These hi friends hj grjeodt ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} None of these 0 1 2 2 1 1 2 3 1 1 2 2 0 1 2 3 None of these 0 1 2 2 1 1 2 3 1 1 2 2 0 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 Compiler Error 10 None of These 50 Compiler Error 10 None of These 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();} Infinite Loop None of these 5 5 5 5 5 Compilation Error 5 4 3 2 1 Infinite Loop None of these 5 5 5 5 5 Compilation Error 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP