Software Programming : C Programming QUESTIONS AND ANSWERS :: part6 : 1 to 5
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
1.The restriction with union is |
The first member can only be initialized |
The last member can only be initialized |
Any member can be initialized |
Union can not be initialized |
No restriction at all. |
2.The number of arguments for realloc( ) function is/are |
0 |
1 |
2 |
3 |
Depends op on user choice. |
3.What would be the output if the following program( let months.c ) is run using the following command line arguments? months Jan Feb Mar Apr void main( int no, char *m[ ] ) { while( no ) printf( �%s �, m[--no] ); } |
Error |
No output at all |
Jan Feb Mar Apr |
months Jan Feb Mar Apr |
Apr Mar Feb Jan months. |
4.What would be the output for the following Turbo C code? int I, A[ ] = { 1, 2, 3, 4, 5 }, *P; P = A;++*P;printf( �%d �, *P); P += 2; printf( �%d �, *P); |
2 4 |
3 4 |
2 2 |
2 3 |
3 3. |
5.Given b=110 and c=20, what is the value of �a� after execution of the expression a=b-=c*=5? #107. Given b=110 and c=20, what is the value of �a� after execution of the expression a=b-=c*=5? |
10 |
450 |
110 |
-10 |
-110. |
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