Software Programming : C Programming QUESTIONS AND ANSWERS :: part5 : 1 to 5
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
1.A function with no definition |
Is an invalid function |
Produces syntax error |
Results into runtime error |
Is allowed and is known as dummy function |
Returns zero value. |
2.Which operator from the following has the lowest priority? #92. Which operator from the following has the lowest priority? |
Assignment operator |
Division operator |
Comma operator |
Conditional operator |
Unary-operator. |
3.Identify the correct output of the following code:
void main( ) {
int w=10, x=5, y=3, z=3;
if( (w |
10 5 3 3 |
10 5 4 4 |
10 5 3 4 |
10 5 4 3 |
10 5 5 5. |
4.The function scanf( ) returns |
The actual values read for each argument |
0 |
1 |
The number of successful read input values |
ASCII value of the input read. |
5.What is the result for the following declaration? int array[] = { 1, 2, 3, 4, 5 }; printf( �%d�, &array[4] - &array[0] ); |
4 |
-4 |
8 |
-8 |
Undefined as the address of the array is not given. |
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