C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 5 6 11 6 6 7 6 6 12 7 5 6 11 6 6 7 6 6 12 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 10 15 30 -5 1 10 15 30 -5 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 None of These 10 Compiler Error 50 None of These 10 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming In C programming language, which of the following type of operators have the highest precedence Equality operators Arithmetic operators Relational operators Logical operators Equality operators Arithmetic operators Relational operators Logical operators ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. II and III I, II, III and IV I, II and III I and II II, III and IV II and III I, II, III and IV I, II and III I and II II, III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[6] arr{7} arr{6} None of these arr[7] arr[6] arr{7} arr{6} None of these arr[7] ANSWER DOWNLOAD EXAMIANS APP