Strings - Find Output of Program Multiple Questions and Answers.




1.What will be the output of the program ?
A. Hello
B. World
C. Hello World
D. WorldHello

2.What will be the output of the program?
A. A
B. a
C. c
D. 65

3.What will be the output of the program?
A. 6
B. 2
C. 12
D. 7

4.What will be the output of the program?
A. Good Morning
B. Good
C. M
D. Morning

5.What will be the output of the program If characters 'a', 'b' and 'c' enter are supplied as input?
A. abc abc
B. bca
C. Infinite loop
D. cba

»



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