C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..2 2..2 2..4 4..4 4..2 2..2 2..4 4..4 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=MVEDA y=EDA y=AMVEDA y=EXAMIANS y=VEDA y=MVEDA y=EDA y=AMVEDA y=EXAMIANS y=VEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 5 11 6 9 10 5 11 6 9 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 Garbage Value Garbage value 0 0 0 Code will not compile Garbage vlaue Garbage Value 0 Garbage Value Garbage value 0 0 0 Code will not compile Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} None of These GOOD BAD Compiler Error GOOD None of These GOOD BAD Compiler Error GOOD ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 1 1 1 garbage values 0 0 0 Error 1 1 1 garbage values 0 0 0 ANSWER DOWNLOAD EXAMIANS APP