C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 21 10 20 21 20 10 20 21 10 10 10 11 11 10 20 21 21 10 20 21 20 10 20 21 10 10 10 11 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to -1 Complier error -10 to 0 -10 to infinite -10 to -1 Complier error -10 to 0 -10 to infinite ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Can't Say will print Hello World Compiler Error None of These Can't Say will print Hello World Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 1..1 1..0 0..1 0..0 1..1 1..0 0..1 0..0 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));} 2 2 1 2 2 1 1 1 2 2 1 2 2 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? continue break resume skip None of these continue break resume skip None of these ANSWER DOWNLOAD EXAMIANS APP