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++);} 6 6 6 7 11 6 5 6 12 7 6 6 6 7 11 6 5 6 12 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} There will be a compilation error reported. The loop will run infinitely many times. The program will not enter into the loop. A run time error will be generated. Prints the value of 0 one time only. There will be a compilation error reported. The loop will run infinitely many times. The program will not enter into the loop. A run time error will be generated. Prints the value of 0 one time only. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} None of These three Error zero None of These three Error zero ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It is a unary operator It cannot be applied to an expression The operand can come before or after the operator All of these It associates from the right It is a unary operator It cannot be applied to an expression The operand can come before or after the operator All of these It associates from the right ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? main register default auto case main register default auto case ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 2 3 4 3 3 2 4 2 3 2 2 3 4 3 3 2 4 2 3 ANSWER DOWNLOAD EXAMIANS APP