C Language - Functions

You Are Here :: Home > C Language > Functions - General Questions

 
1.

What is the default return type of a function ?

A. int B. void
C. float D. char




2.

In C , the execution of the program starts from ?

A. the firstly defined function B. main( ) function
C. the lastly defined function D. none of these




3.

Which of the following is false about functions ?

A. More that one function allowed in a program B. A function can call itself
C. Constants can appear in the formal argument list D. A function can call another function




4.

C allowed arguments to be passed ?

A. call by value B. call by reference
C. both a and b D. None of these




5.

Recursion always requires ?

A. Termination of the algorithm B. Key variable
C. Base value D. All of these




6.

Use of function

A. Helps to avoid repeating a set of statements many times B. Enhance the logical clarity of the program
C. Helps to avoid repeated programming across programs D. All Of the above




1

2

3

4

5

6

7

8

9

...

next »

 
 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on