Software Programming : C Programming QUESTIONS AND ANSWERS :: part5 : 11 to 15
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
11.What is the output of the following piece of program? int value = 11; while( --value+1 ); printf( �Count down is : %d�, value); |
Count down is : 0 |
Count down is : -1 |
Count down is : 1 |
Syntax error |
Run time error. |
12.What will be printed if the following code is executed? void main( ) { int x = 0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf( �x = %d�, x); } |
x = 0 |
x = 5 |
x = 4 |
x = 1 |
Error, because break and continue can not appear in one for loop. |
13.What is the output of the following piece of code in Turbo C? void main( ) { int a=20, b=35; a = b++ + a++; b = ++b + ++a; printf( � %d, %d�, a, b); } |
57, 94 |
56, 94 |
58, 94 |
57, 93 |
55, 55. |
14.int array[3][2][2] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; What value does array[2][1][0] in the above array contain? |
5 |
7 |
9 |
11 |
15. |
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