C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of these 5 4 3 2 1 5 5 5 5 5 Infinite Loop Compilation Error None of these 5 4 3 2 1 5 5 5 5 5 Infinite Loop Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); None of these 1 0 1 1 0 1 0 0 None of these 1 0 1 1 0 1 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 13 50, 13, 24, 50 50, 13, 11, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 13 50, 13, 24, 50 50, 13, 11, 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Must contain at least one function. Needs input data. None of these Need not contain any function. Must contain at least one function. Needs input data. None of these Need not contain any function. 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 20 100 100 100 100 0 100 100 5 100 5 0 100 5 0 20 100 100 100 100 0 100 100 5 100 5 0 100 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);} Garbage value 3 6 Error Garbage value 3 6 Error ANSWER DOWNLOAD EXAMIANS APP