C Programming Determine Output:#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 Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 3 a[1] = 2 a[0] = 2 Compilation error a[1] = 3 a[0] = 3 a[1] = 2 a[0] = 2 Compilation error a[1] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 30 None of these 20 24 25 30 None of these 20 24 25 ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when Initialization is a part of definition It is a declaratrion It is a formal parameter All of these Initialization is a part of definition It is a declaratrion It is a formal parameter All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 0 1 2 2 0 1 2 3 1 1 2 2 None of these 1 1 2 3 0 1 2 2 0 1 2 3 1 1 2 2 None of these 1 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 6 None of these 0 1 10 6 None of these 0 1 10 ANSWER DOWNLOAD EXAMIANS APP