Question 1
Which of the following data types will result in the least memory allocation?
double
char
short
float
Which of the following data types will result in the least memory allocation?
double
char
short
float
What is the scope of a variable declared inside a function in C?
Global
Local to the function
Accessible only in main()
Accessible in all functions called by the parent function
In little-endian format, the least significant byte is stored at the highest memory address.
In little-endian format, the most significant byte is stored at the lowest memory address.
In big-endian format, the most significant byte is stored at the lowest memory address.
In big-endian format, the least significant byte is stored at the lowest memory address.
Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.
The IIT Madras BS Programming in C (Programming in C) End Term paper sat on 22 Dec 2024, in the September 2024 term, set QDB3: 25 questions for 100 marks in 180 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.
| Feature | Programming in C End Term 22 Dec 2024 Set QDB3 at a glance |
|---|---|
| Term | September 2024 term |
| Subject | Programming in C |
| Course code | BSCS3005 |
| Questions | 25 |
| Marks | 100 |
| Duration | 180 min |
| MCQ | 18 |
| MSQ | 3 |
| Numerical | 4 |
| Official paper | IIT M DEGREE AN EXAM QDB3 22 Dec 2024 |
| Negative marking | No negative marking. |
| Updated |