C Programming Questions & Answers: part1



Software Programming : C Programming QUESTIONS AND ANSWERS :: part1 : 6 to 10

Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2015 examinations :

6.What is the only function all C programs must contain?

Start()
System()
Main()
Program()
None of the above.

7.What is the correct value to return to the operating system upon the successful completion of a program?

1
1
0
Programs do not return a value
2.

8.Which of the following is a complete function?

Int funct();
Int funct(int x) {return x=x+1;}
Void funct(int) {printf(�Hello");}
Void funct(x) {printf(�Hello");}
None of the above.

9.What is the return value of the following statement if it is placed in C program? strcmp (�ABC�,�ABC�);

33
�1
1
Compilation error
0.

10.Suppose the return type of function f is void. Which one of the following statements is true?

Function f does not contain a return statement
Function f does not have parameters
Function f returns a generic value
Function f does not work correctly
None of the above.

More C Programming QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha