C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 0 7 6 Compiler Error 5 0 7 6 Compiler Error 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 1, 2, 5 3, 2, 15 2, 1, 15 2, 3, 20 1, 2, 5 3, 2, 15 2, 1, 15 2, 3, 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } None of these. Will make an infinite loop. Error Some address will be printed. None of these. Will make an infinite loop. Error Some address will be printed. 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 0..1 0..0 1..0 1..1 0..1 0..0 1..0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 11 Error 1 12 11 Error 1 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? printf() None of these gets() scanf() puts() printf() None of these gets() scanf() puts() ANSWER DOWNLOAD EXAMIANS APP