Question 1
What is the value of a, b, and c at the end of computation of the following code snippet?
int a = 5, b = 1, c = 4;
a = b + c;c = a - b;c = c + a;c = b + c;b = b + c;5 1 4
5 6 9
5 16 10
5 11 10
What is the value of a, b, and c at the end of computation of the following code snippet?
int a = 5, b = 1, c = 4;
a = b + c;c = a - b;c = c + a;c = b + c;b = b + c;5 1 4
5 6 9
5 16 10
5 11 10
Which of the following is a True statement about how functions operate in the C programming language?
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 Introduction to C Programming (Intro to C Programming) End Term paper sat on 13 Apr 2025, in the January 2025 term, set QEF3: 24 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 | Intro to C Programming End Term 13 Apr 2025 Set QEF3 at a glance |
|---|---|
| Term | January 2025 term |
| Subject | Introduction to C Programming |
| Course code | CS1101 |
| Questions | 24 |
| Marks | 100 |
| Duration | 180 min |
| MCQ | 17 |
| MSQ | 2 |
| Numerical | 5 |
| Official paper | IIT M ES FOUNDATION AN EXAM QEF3 13 Apr 2025 |
| Negative marking | No negative marking. |
| Updated |