Professional Documents
Culture Documents
She was always harping on how wonderful her daughter was a. b. c. d. gushing singing songs of praise out emphasising keen to point out
If 4 men do a work in 12 days and 6 women do the same work in same time, how long it would take if 6 men and 9 women are involved? a. b. c. d. e. Predict the output for the following code. float *p; float f = p; printf(%f,&x); return; } a. b. c. d. Prints 10 Prints address of 10 Doesn't print anything Gives an error 8 days 4 days 2 days 9 days 6 days
a. b. c.
10 11 00
d.
01
a. b. c. d.
5 4 3 2
main() { int Y=10; if( Y++>9 && Y++!=10 && Y++>11) printf("%d", Y); else printf("%d", Y); } What is the output of the program?
a. b. c. d.
10 11 12 13
a. b. c. d.
#include<iostream.h>
int main() { double result; int whole_number = 7; result= whole_number/2; cout<<"\n the result of the division is " <<result; return 0; }
a. b. c. d.
3 3.5 3 3.4
a. b. c. d.
3 3.0 Undefined 0
a. b. c. d.
21 210 0 120
{ case 0:i+=5; case 1:i+=2; case 5:i+=5; default i+=4; break; } printf("%d,",i); } }
a. b. c. d.
a. b. c. d.
The string is : string The string is :Oldstring Run time error/Core dump Syntax error during compilation