C Preprocessor - Find Output of Program Multiple Questions and Answers.




1.What will be the output of the program?
A. Result = -100.000000
B. Result = -25.000000
C. Result = 0.000000
D. Result = 100.000000

2.What will be the output of the program?
A. 25
B. 11
C. Error
D. Garbage value

3.What will be the output of the program?
A. str1=PAKMCQSstr2=MCQS
B. str1=PAKstr2=MCQS
C. str1=PAKstr2=PAKMCQS
D. Error: in macro substitution

4.What will be the output of the program?
A. 9, 4
B. 27, 4
C. 27, 6
D. Error

5.What will be the output of the program?
A. int=4, int=4, int=4
B. int=3, int=3, int=3
C. int=2, int=2, int=2
D. int=2, int=3, int=4

»



Quick Links

GAT Subject



   Computer Science    English    Agriculture    Botany    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC    PPSC    NTS