Decisions making Branching November 26, 2020wefru 1 Created on November 26, 2020 By wefru Decision making Branching TEST YOUR BROAD SKILLS 1 / 10 Q.81 What will be output if you will compile and execute the following c code? #define call(x) #xvoid main(){ printf(" s",call(c/c++));} c/c++ c ++ None of the above 2 / 10 Q.82 What will be output if you will compile and execute the following c code? #define message "union is\power of c" void main(){ clrscr();printf(" s",message); getch();} union ispower of c union ispower of c++ union ispower of Java None of the above 3 / 10 Q.83 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 13 31 16 31 196 4 / 10 Q.84 What will be output if you will compile and execute the following c code? void main(){int i=0; if(i==0){ i=((5,(i=3)),i=1);printf(" d",i);}else printf("equal");} 1 2 3 4 5 / 10 Q.85 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 24 25 26 6 / 10 Q.86 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();} 7 2 8 3 7 / 10 Q.87 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 3 6 8 / 10 Q.88 What will be output if you will compile and execute the following c code? #include "string.h"void main(){ clrscr();printf(" d d",sizeof("string"),strlen("string")); getch();} 7 6 7 7 7 8 7 9 9 / 10 Q.89 What will be output if you will compile and execute the following c code? void main(){int huge*p=(int huge*)0XC0563331; int huge*q=(int huge*)0xC2551341;*p=200;printf(" d",*q);} 200 22 225 221 10 / 10 Q.90 What will be output if you will compile and execute the following c code? struct marks{int p:3; int c:3; int m:2;};void main(){struct marks s={2,-6,5}; printf(" d d d",s.p,s.c,s.m);} 2 2 1 2 2 2 2 2 3 2 2 4 Your score is The average score is 60% LinkedIn Facebook Twitter VKontakte 0% Restart quiz