C Programming Questions & Answers: part2



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

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

6.Which of the following function returns multiple values?

Printf( )
Scanf( )
Printf( ) & scanf( )
Getch( )
None of the above

7.What value does srarray [5][4][0] in the sample code below contain? int srarray[2][2][2] = {1,2,3,4,5,6,7,8,9,10,11,12};

3
5
7
9
Garbage value.

8.Which of following is not a valid name for a C variable?

Hairaj
Hello_raj
Hello raj
Both (opt1) and (opt2) above
None of the above.

9.Information will be passed to the function via special identifier is called #17. Information will be passed to the function via special identifier is called

Arguments
Parameters
Both (opt1) and (opt2) above
Elements
Characters.

10.What is the output of the following statements? for(I = 10; I++; I<15) printf(�%d�, I);

1011121314
101112131415
910111213
It will go to infinite loop
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
Failure defeats losers, failure inspires winners.-Robert T. Kiyosaki