Functions Questions And Answers.


1.The keyword used to transfer control from a function back to the calling function is?
A. return
B. go back
C. goto
D. switch

2.What is the notation for following functions?
A. 1. KR Notation 2. ANSI Notation
B. 1. Pre ANSI C Notation 2. KR Notation
C. 1. ANSI Notation 2. KR Notation
D. 1. ANSI Notation 2. Pre ANSI Notation

3.How many times the program will print "Pak-MCQs"?
A. Infinite times
B. 32767 times
C. 65535 times
D. Till stack overflows

4.What will be the output of the program in 16 bit platform (Turbo C under DOS)?
A. 0 (Zero)
B. 1990
C. Garbage value
D. No output

5.What will be the output of the program?
A. 5, 2
B. 10, 4
C. 2, 5
D. 25, 4