Looping November 26, 2020December 21, 2020wefru Do you know C programming quiz on Looping 0 Created on November 26, 2020 By wefru Looping TEST YOUR BROAD SKILLS 1 / 10 Q.91 What will be output if you will compile and execute the following c code? void main(){if(printf("cquestionbank")) printf("I know c");elseprintf("I know c++");} cquestionbankI know c I know c I know c++ None of the above 2 / 10 Q.92 What will be output if you will compile and execute the following c code? void main(){int a=25; clrscr();printf(" o x",a,a); getch();} 31 19 31 10 31 11 31 12 3 / 10 Q.93 What will be output if you will compile and execute the following c code? int extern x;void main() printf(" d",x); x=2;getch();}int x=23; 23 22 20 11 4 / 10 Q.94 What will be output if you will compile and execute the following c code? void main(){int a,b; a=1,3,15; b=(2,4,6); clrscr(); printf(" d ",a+b); getch();} 3 7 2 6 5 / 10 Q.95 What will be output if you will compile and execute the following c code? void main(){static main; int x; x=call(main); clrscr(); printf(" d ",x); getch();}int call(int address){ address++;return address;} 1 0 10 101 6 / 10 Q.96 What is the right way to access value of structure variable book{ price, page }? printf(" d d", book.price, book.page); printf(" d d", price::book, page::book); printf(" d d", price->book, page->book); None of the above 7 / 10 Q.97 perror( ) function used to ? Work as scanf() prints the error message specified by the compiler Work as printf() None of the above 8 / 10 Q.98 Bitwise operators can operate upon? ints and chars ints and double ints and float ints and int 9 / 10 Q.99 What is constant? Constants have fixed values that do not change during the execution of a program Constants Not have fixed values Constants are garbage values none of the above 10 / 10 Q.100 In switch statement, each case instance value must be ? Constant Variable Always 0 always float Your score isThe average score is 0% LinkedIn Facebook Twitter VKontakte 0% Restart quiz