Software Programming : C Programming QUESTIONS AND ANSWERS :: part9 : 6 to 10
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
6.The getchar() library function |
Returns a character when any key is pressed |
Returns multiple characters when the keys are pressed |
Returns multiple characters when the keys are pressed followed by enter key |
Both (opt2) and (opt3) above |
Returns a single character when the keys are pressed followed by enter key. |
7.What would be the values assigned to a, b, c if the following statement is extended with input data item 123456 scanf(�%d %d %d�, &a, &b, &c ); |
a=12, b=34, c=56 |
a=123456 and nothing is assigned to b, c |
a=1, b=3, c=5 |
a, b are not assigned any thing but c=123456 |
a=123456, b=0, c=0. |
8.What is the output of the following program
# include |
10, 10 |
10, 1 |
1, 10 |
0, 10 |
10, 0. |
9.If a=Oxaa and b=a<<1 then |
b=2a |
b=a/2 |
a=b-1 |
b=a-1 |
b=a. |
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