
Software Programming : C Programming QUESTIONS AND ANSWERS :: part13 : 6 to 10
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
6.What is the value of i after this segment of the program is executed? n = 27; i = 0; for( i = 0; i <= n; i+= 2 ) { printf(i ); } |
25 |
28 |
27 |
26 |
29. |
7.FILE is ------------- |
Stack |
Pointer |
Union |
Structure |
Variable. |
8.What is the final value of x if initially x has the value 0? #222. What is the final value of x if initially x has the value 0? if (x >= 0) x += 5; if (x >= 5) x += 2; |
0 |
2 |
5 |
7 |
8. |
9.Which of the following is an advantage of using macros over functions? |
Functions must have parameters; macros do not |
The code associated with a function is expanded in line |
Values passed to functions must be of a specific data type; values passed to macros do not |
When macros are used many times in a program they are expanded each time |
The code associated with a function is not expanded in line. |
10.The getchar() function reads a |
String from a file |
Character from a file |
String from the keyboard |
Character from the keyboard |
Word from the file. |
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
