C Programming Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} None of these. 11 10 9 None of these. 11 10 9 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 defg cdefg bcdefg fg efg defg cdefg bcdefg fg ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array 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, 10, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Syntax error Runtime error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Syntax error Runtime error 0x1234ABCD, 0x1234ABCD, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Garbage Value hi followed by garbage value Error hi h Garbage Value hi followed by garbage value Error hi h ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 1 10 None of these 0 6 1 10 None of these 0 6 ANSWER DOWNLOAD EXAMIANS APP