C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 4 5 Error 6 4 5 Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[4]){} void fun(int *p[][4]){} void fun(int p[][4]){} void fun(int *p[3][4]){} None of these void fun(int *p[4]){} void fun(int *p[][4]){} void fun(int p[][4]){} void fun(int *p[3][4]){} None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 0 2 Garbage Value None of These 0 2 Garbage Value None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right I and III I and II II and III III and IV II and IV I and III I and II II and III III and IV II and IV 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);} 20 None of these 30 25 24 20 None of these 30 25 24 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} make an infinite loop Some address will be printed Error None of These make an infinite loop Some address will be printed Error None of These ANSWER DOWNLOAD EXAMIANS APP