C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} the behavior is undefined i=4 j=2 i=5 j=2 i=3 j=2 the behavior is undefined i=4 j=2 i=5 j=2 i=3 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compiler Error Can't Say will print Hello World None of These Compiler Error Can't Say will print Hello World None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error h Garbage Value hi hi followed by garbage value Error h Garbage Value hi hi followed by garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} 300 %d\n Error None of These 300 %d\n Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} Run time error 10 20 10 10 20 20 Run time error 10 20 10 10 20 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Function scope No scope at all Local scope File scope Block scope Function scope No scope at all Local scope File scope Block scope ANSWER DOWNLOAD EXAMIANS APP