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, 10, 10 Runtime error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Syntax error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 10, 10 Runtime error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Syntax error 0x1234ABCD, 0x1234ABCD, 10 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=VEDA y=EDA y=EXAMIANS y=AMVEDA y=MVEDA y=VEDA y=EDA y=EXAMIANS y=AMVEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 4 3 4 2 2 3 3 2 3 2 4 3 4 2 2 3 3 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. II and IV I and II II and III III and IV I and III II and IV I and II II and III III and IV I and III ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 216 – 1 215 – 1 None of these 216 215 216 – 1 215 – 1 None of these 216 215 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 0 1 Error 100 0 1 Error 100 ANSWER DOWNLOAD EXAMIANS APP