C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Garbage Value Compiler Error 5 6 Garbage Value Compiler Error 5 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=EXAMIANS y=EDA y=AMVEDA y=VEDA y=MVEDA y=EXAMIANS y=EDA y=AMVEDA y=VEDA y=MVEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 2..4 4..4 4..2 2..2 2..4 4..4 4..2 2..2 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 11 10, 10 11, 11 11, 10 10, 11 10, 10 11, 11 11, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 11 1 12 Error 11 1 12 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Helps to avoid repeating a set of statements many times. All of these Helps to avoid repeated programming across programs. Makes the debugging task easier. Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. All of these Helps to avoid repeated programming across programs. Makes the debugging task easier. Enhances the logical clarity of the program. ANSWER DOWNLOAD EXAMIANS APP