C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 0 1 1 0 0 0 1 1 None of these 0 1 1 0 0 0 1 1 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} b = 4, c = 6 b = 3, c = 6 a = 4, c = 8 a = 4, c = 6 a = 3, c = 8 b = 4, c = 6 b = 3, c = 6 a = 4, c = 8 a = 4, c = 6 a = 3, c = 8 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);} 0..1 1..0 0..0 1..1 0..1 1..0 0..0 1..1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about the program below?#includevoid main(){ int size, i; scanf("%d", &size); int arr[size]; for(i=1; i<=size; i++) { scanf("%d", arr[i]); printf("%d", arr[i]); }} The code is correct and runs successfully. The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. None of these The code is correct and runs successfully. The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 10 None of These Compiler Error 50 10 None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} 1 1 -1 -1 complier error 1 -1 1 -1 1 1 -1 -1 complier error 1 -1 1 -1 ANSWER DOWNLOAD EXAMIANS APP