Software Programming : C Programming QUESTIONS AND ANSWERS :: part10 : 6 to 10
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
6.In the statement # define, the symbol # must commence from |
Any where in any line |
First character of that line |
Before main() function but after # include statement always |
Before main() function but before # include statement always |
Any where out side of main() always. |
7.What will be the value of �i� after the following code is executed, provided 1 as the initial value of �i�? i = (i <<= i%2 ); |
Syntax Error |
Logical error |
2 |
1 |
0. |
8.From the following, which expression will correctly swap two integers x, y without using a temporary variable? |
(x^=y), ( y^=x) |
(x^=y), ( y^=x), (x^=y) |
x^=(y^=x) |
(x=y), (y=x) |
(x=y), (y=x), (x=y). |
9.The function sprintf( ) works like printf( ), but operates on |
strings |
data in a file |
stderr |
stdin |
standard output device. |
10.Arrange the operators �&�, �&&�, �|�, �||�, �^� based on priority. |
& ^ | && || |
& && ^ | || |
& && | ^ || |
& && | || ^ |
& | ^ && ||. |
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