C Programming Questions & Answers: part12



Software Programming : C Programming QUESTIONS AND ANSWERS :: part12 : 1 to 5

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

1.void foo (int x, int & y) { int c; c = x + y; y = 2 * c; x = 2 * x; } �c� is called

Actual parameter
Local variable
Formal parameter
Local parameter
Global variable.

2.What is the value of �f� after execution of the following code? #207. What is the value of �f� after execution of the following code? float f = 1/4.0 + 1/4;

0.00
0.75
0.50
0.25
1.0.

3.The arguments in main() function are known as

Program parameter
Command line arguments
Memory in line format conversion
Both (opt1) and (opt2) above
Both (opt2) and (opt3) above.

4.C programming language was developed by

Dennis Ritchie
Ken Thompson
Bill Gates
Peter Norton
Donald Hearn.

5.How many characters can a string hold when declared as char name [20]; ?

18
19
20
21
22.

More C Programming QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha
Opportunity is missed by most people because it is dressed in overalls and looks like work.- Thomas Edison