C Programming What is the correct value to return to the operating system upon the successful completion of a program? 1 -1 2 Program do no return a value. 1 -1 2 Program do no return a value. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} Error None of These hello garbage value hello 5 Error None of These hello garbage value hello 5 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 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Runtime error 0x1234ABCD, 10, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 2 1 2 2 1 2 1 1 2 1 2 2 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 2 -2 Error 1 2 -2 Error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} None of These 5 4 3 2 1 0 0 0 0 Infinite Loop None of These 5 4 3 2 1 0 0 0 0 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP