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);} 13 11 12 14 Compilation error 13 11 12 14 Compilation error 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=AMVEDA y=EXAMIANS y=EDA y=VEDA y=MVEDA y=AMVEDA y=EXAMIANS y=EDA y=VEDA y=MVEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? efg bcdefg fg cdefg defg efg bcdefg fg cdefg defg ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 3, 2, 15 2, 1, 15 1, 2, 5 2, 3, 20 3, 2, 15 2, 1, 15 1, 2, 5 2, 3, 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int value=0; if(value) printf("well done "); printf("examveda");} complier error well done examians examians None of these complier error well done examians examians None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Syntax error 0x1234ABCD, 10, 10 Runtime error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Syntax error 0x1234ABCD, 10, 10 Runtime error ANSWER DOWNLOAD EXAMIANS APP