Software Programming : C Programming QUESTIONS AND ANSWERS :: part15 : 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 size of an int must be greater than or equal to that of a |
long int |
short int |
float |
double |
char. |
2.What is the result of the program? main(){int a = 1000, b = 1000; long int c = a * b; printf(�%ld�, c); } |
1000000 |
10000 |
100000 |
Garbage value |
1000. |
3.Which of the following is not valid where p1, p2 are pointers? |
p1+3 |
p2-5 |
* p1 + * p2 |
p1+p2 |
p1-3. |
4.What is the output of the following statements? int b=5,c=15,d=8,e=8,a; a=b>c?c>d?12:d>e?13:14:15; printf(�%d�,a); |
13 |
14 |
15 |
16 |
Garbage value. |
5.How much memory does the call malloc(10) allocate? |
10 bytes |
20 bytes |
no memory allocation |
9 bytes |
30 bytes |
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