Software Programming : C Programming QUESTIONS AND ANSWERS :: part11 : 6 to 10
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
6.Consider the following code: unsigned char c; for( c=0; c!=256; c+2) printf(�%d�, c); How many times the loop will be executed? |
127 |
128 |
256 |
Infinitely |
Zero. |
7.How is a variable accessed from another file? |
The global variable is referenced via the pointer specifier |
The global variable is referenced via the extern specifier |
The global variable is referenced via the auto specifier |
The global variable is referenced via the global specifier |
Can�t be accessed at all in C. |
8.What is the value of �a�, if the expression is executed as a = ( x=10, x*x );? |
Syntax Error |
Garbage Value |
1 |
10 |
100. |
9.How many times the �for� loop in the following code will be executed on Turbo C compiler? void main(){ int i=0; for(; ++i; ) |
0 times |
Infinite times |
The maximum value an integer can have in that machine |
One time |
The program will give an syntax error. |
10.int *p[5]; is used for |
Fixed row size and varying column size |
Fixed row size and fixed column size |
Varying row size and varying column size |
Varying row size and fixed column size |
For storing integers. |
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