MauryaHub PYQ Practice

Programming in C · End Term · May 2025 · FN

Programming in C · End Term · May 2025 FN

← Course papers · Start practice / exam

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

0 / 24 published solutions

Question 92 MCQ · 4.0 marks

Source diagram or notation
6406534756188.
Pre-increment changes the value after the expression is evaluated, while post- increment changes it before the expression is evaluated.
6406534756189.
Pre-increment changes the value before the expression is evaluated, while post-increment changes it after the expression is evaluated.
6406534756190.
Pre-increment is used with integers, while post-increment is used with floating-point numbers.
6406534756191.
Pre- and Post-increment are identical in operation. They are two ways of writing the same statement.

A published solution is not available for this question yet.

Report a correction for Q92

Question 93 MCQ · 4.0 marks

Source diagram or notation
6406534756192.Source diagram or notation
6406534756193.Source diagram or notation
6406534756194.Source diagram or notation
6406534756195.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q93

Question 94 MCQ · 4.0 marks

When a recursive function is called, how does the call stack (or program stack) manage the function calls?
6406534756200.
Each new recursive call overwrites the previous function call on the stack.
6406534756201.
Each new recursive call adds a new stack frame to the top of the stack for its local variables and parameters.
6406534756202.
The call stack is not used for recursive functions; a separate data structure is used.
6406534756203.
The recursive calls are stored in a queue, waiting to be processed in order.

A published solution is not available for this question yet.

Report a correction for Q94

Question 95 MCQ · 4.0 marks

Source diagram or notation
6406534756204.Source diagram or notation
6406534756205.Source diagram or notation
6406534756206.Source diagram or notation
6406534756207.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q95

Question 96 MCQ · 4.0 marks

Source diagram or notation
6406534756212.Source diagram or notation
6406534756213.Source diagram or notation
6406534756214.Source diagram or notation
6406534756215.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q96

Question 97 MCQ · 4.0 marks

Source diagram or notation
6406534756216.Source diagram or notation
6406534756217.Source diagram or notation
6406534756218.Source diagram or notation
6406534756219.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q97

Question 98 MCQ · 4.0 marks

Source diagram or notation
6406534756220.Source diagram or notation
6406534756221.Source diagram or notation
6406534756222.Source diagram or notation
6406534756223.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q98

Question 99 MCQ · 4.0 marks

Source diagram or notation
6406534756224.
10
6406534756225.
20
6406534756226.
30
6406534756227.
40

A published solution is not available for this question yet.

Report a correction for Q99

Question 100 MCQ · 4.0 marks

Source diagram or notation
6406534756228.Source diagram or notation
6406534756229.Source diagram or notation
6406534756230.Source diagram or notation
6406534756231.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q100

Question 101 MCQ · 4.0 marks

Source diagram or notation
6406534756232.Source diagram or notation
6406534756233.Source diagram or notation
6406534756234.Source diagram or notation
6406534756235.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q101

Question 102 MCQ · 4.0 marks

A special data type is declared where multiple members share the same memory location. The size of an instance of this type is equal to the size of its largest member. What kind of data type is this?
6406534756236.Source diagram or notation
6406534756237.Source diagram or notation
6406534756238.Source diagram or notation
6406534756239.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q102

Question 103 MCQ · 4.0 marks

Source diagram or notation
6406534756240.Source diagram or notation
6406534756241.Source diagram or notation
6406534756242.Source diagram or notation
6406534756243.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q103

Question 104 MCQ · 4.0 marks

In C programming, which memory region is primarily used for storing local variables of functions and function call information?
6406534756244.
Heap memory
6406534756245.
Stack memory
6406534756246.
Static memory
6406534756247.
Code segment

A published solution is not available for this question yet.

Report a correction for Q104

Question 105 MCQ · 4.0 marks

Source diagram or notation
6406534756248.
"New Content" is appended to the end, resulting in "Hello WorldNew Content".
6406534756249.
The file is cleared, and only "New Content" is written.
6406534756250.
The code will fail to open the file because it already exists.
6406534756251.
"New Content" is inserted at the beginning, pushing "Hello World" to the end.

A published solution is not available for this question yet.

Report a correction for Q105

Question 106 MCQ · 4.0 marks

Source diagram or notation
6406534756252.Source diagram or notation
6406534756253.Source diagram or notation
6406534756254.Source diagram or notation
6406534756255.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q106

Question 107 MCQ · 4.0 marks

What is the primary purpose of the C preprocessor?
6406534756256.
To execute the program's logic before the main function.
6406534756257.
To convert the source code into machine language.
6406534756258.
To process directives and modify the source code before compilation.
6406534756259.
To manage dynamic memory allocation during runtime.

A published solution is not available for this question yet.

Report a correction for Q107

Question 108 MCQ · 4.0 marks

Source diagram or notation
6406534756260.
25
6406534756261.
23
6406534756262.
17
6406534756263.
15

A published solution is not available for this question yet.

Report a correction for Q108

Question 109 MCQ · 4.0 marks

Source diagram or notation
6406534756264.
7
6406534756265.
104
6406534756266.
4
6406534756267.
5

A published solution is not available for this question yet.

Report a correction for Q109

Question 110 MCQ · 5.0 marks

Source diagram or notation
6406534756196.
2 4 6 8
6406534756197.
2 4 6 8 10
6406534756198.
Infinite loop
6406534756199.
2 4 6 8 10 12

A published solution is not available for this question yet.

Report a correction for Q110

Question 111 MCQ · 5.0 marks

Source diagram or notation
6406534756208.
0501
6406534756209.
150
6406534756210.
501
6406534756211.
1050

A published solution is not available for this question yet.

Report a correction for Q111

Question 112 NAT · 5.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q112

Question 113 NAT · 5.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q113

Question 114 NAT · 4.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q114

Question 115 NAT · 4.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q115