You are on page 1of 7

Sr. No.

Question Option 1
1 Any C Program---- Must contain at least one function.     
2 The function scanf is used to ___      To take logical decisions
3 If the function returns no value then it is called ____            Void function
4 A function _____     May or may not need input data
5 Default return type of function defintion    int
6 Header files in C contain   Compiler commands
7 void show(); int main() {     show();     printf("ARGENTINA ");     return ARGENTINA
0; } void show()
AFRICA
{     printf("AFRICA
  "); }  
8 How many values can a C Function return at a time.?   Only One Value
9 What are types of Functions in C Language.?    Library Functions
10 A function which calls itself is called a ___ function.   Self Function
11 The value obtained in the function is given back to main by using ________ keyword. return 
12 Which of the following is a correct format for declaration of function?
return-type
  function-name(argument type);
#include <stdio.h>
    void main()
    {
        m();
        void m()
        {
            printf("hi");
        }
13     }     Compile time error
14 main()   { printf("C Language");   main(); }   It will keep on printing javatpoint
15 What is required in each C program? The program must have at least one function.
16 The keyword used to transfer control from a function back to the calling functionswitch is  
17   Choose the correct statement A Function is a group of c statements which can be reused any number of
18 What is the limit of number of functions in a C program 16

19 What is the default return type if it is not specified in function definition? void
20  It is necessary to declare the type of a function in the calling program if theReturn
function
an integer
Option 2 Option 3 Option 4 Option 5
Need not contain any function Needs input data None of the above
 Input a set of values Print a set of valuesDo mathematical manipulations  
Calling function Main function Data type function
May or may not return a value Both a and b None of these
void float char
Library functionsHeader information of C programsOperators for files
AFRICA ARGENTINA ARGENTINA   Compiler error
Maximum of two values Maximum of three values Maximum of 8 values
User Defined Functions Both Library and User Defined None of the above
 Auto Function Recursive Function Static Function
static new volatile
return-type function-name(argument
 return-typetype){}
(argument type)function-name;
all of the mentioned

hi nothing varies
Wrong statement It will Print C Language once None of the these
The program does not require any function.
Input data Output data
goto  return exit
 Every Function hasEvery
a return type may no may not return a value
Function All the above
31 32 No limit

int double short int


Returns a non-integer value
is not defined in the same file None of these
Option 6 Option 7 Option 8 Correct answer(1,2,3,4,5,6,7,8)
1
2
1
3
1
2
2
1
3
3
1
1

1
1
1
3
4
4

2
2
Question type Time(in seconds)
Objective 90
Objective 90
Objective 90
Objective 90
Objective 90
Objective 90
Objective 90
Objective 90
Objective 90
Objective 90
Objective 90
Objective 90

Objective 90
Objective 90
Objective 90
Objective 90
Objective 90
Objective 90

Objective 90
Objective 90
Out of marks Explanation
1
1
1
1
1
1
1
1
1
1
1
1

1
1
1
1
1
1

1
1
Character Limit Shuffle Answer Options
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES

YES
YES
YES
YES
YES
YES

YES
YES
Is Multiple Choice
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO

NO
NO
NO
NO
NO
NO

NO
NO

You might also like