Software Programming : C Programming QUESTIONS AND ANSWERS :: part3 : 1 to 5
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
1.What is the following code�s output if choice = �R�? switch(choice) { case �R� : printf( �RED �); case �W� : printf( �WHITE �); case �B� : printf( �BLUE �); default : printf( �ERROR �); break; } |
RED |
RED WHITE BLUE ERROR |
RED ERROR |
RED WHITE BLUE |
ERROR. |
2.Which of the following is a not a keyword in C language. |
void |
volatile |
sizeof |
getchar |
short. |
3.It is necessary to declare the type of the function in the calling program if |
The function returns an integer |
Function returning only the float values |
The function is not defined in the same file |
The function returns a non- integer value |
The size of the function is vary big. |
4.What will be the value of sum after the following program is executed? main( ) { int sum = 1, index = 9; do { index = index � 1; sum *= 2; }while( index > 9 ); } |
1 |
2 |
9 |
0.5 |
0.25. |
5.The recursive functions are executed in a |
Parallel order |
First In First Out order |
Last In First Out order |
Iterative order |
Random order. |
More C Programming QUESTIONS AND ANSWERS available in next pages
-
Health is the greatest gift, contentment is the greatest wealth -Buddha
- TNTET 2021 - Practice
- SSC CGL 2021 - Practice
- TNPSC Group 2A 2021 - Practice
- IIT JEE
- IIT JEE Q&A
- TNPSC Answer Keys
- TNPSC Group 2 Syllabus
- TNPSC Q&A
- Online Tests - TNPSC
- Online Tests - GK
- IBPS 2020-2021
- Online Tests - Bank
- Online Tests - RRB NTPC
- Online Tests - UGC NET
- Online Tests - TANCET
- Online Aptitude Test
- Engineering
- Programming
- Basic Science
- Quiz
- Plus Two Question Papers
- SSLC Question Bank
- Aptitude Tests
- Logical Reasoning
- General Knowledge-Hindi
- Indian History MCQ
- Indian Geography MCQ
- Indian Civics MCQ
- Indian Economics MCQ
- CTET Biology MCQ
- CTET Chemistry MCQ
- CTET Physics Solved MCQ
- Arithmetic Tests
- Press Release
- FAQ
- Coaching Centres
- TNPSC Group 1 Syllabus
- TNPSC Group IV Syllabus
- TRB 2017 in English PDF
- TRB 2017 in Tamil PDF
- TET
- TNTET