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);} i=3 j=2 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 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 5 0 100 100 0 100 100 100 100 5 0 20 100 5 100 5 0 100 100 0 100 100 100 100 5 0 20 100 5 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor All of these Takes care of macros Takes care of conditional compilation Takes care of include files Acts before compilation All of these Takes care of macros Takes care of conditional compilation Takes care of include files Acts before compilation ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 3 6 Error Garbage value 3 6 Error Garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } None of these. Some address will be printed. Error Will make an infinite loop. None of these. Some address will be printed. Error Will make an infinite loop. 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? skip break resume continue None of these skip break resume continue None of these ANSWER DOWNLOAD EXAMIANS APP