Question 95

Computer Awareness Miscellaneous Easy

Predict the output of the below C program.

#include
int main()
{
static int t=5 ;
if (--i){
main();
printf('%d', i);
}
}

(A) segmentation fault (core dumped)
(B) 1234
(C) 0000
(D) 4321
✓ Correct Answer: Option A Verified Solution

📘 Step-by-Step Solution & Detailed Explanation:

Correct Option is A. Practice regular variations of this Miscellaneous concept to build speed and accuracy.

Practice Similar Miscellaneous Questions

Reinforce your conceptual grasp with related questions from MAH MCA CET 2024:

Q81 The clarity of an image on the screen, measure in pixels. The higher...
Solve →
Q82 A ............. contains a list of commands from which a user can make...
Solve →
Q83 The portion of the process scheduler in an operating system that...
Solve →
Q84 One of the most negative impact to computer technology is \( \) .
Solve →
Q85 Perform Two's complement addition of two negative numbers \( (11101) 2 \)...
Solve →
Full-Length Test Series

Prepare for MAH MCA CET Under Real Exam Conditions

Take timed full-length mock tests with authentic question distributions, negative marking (+12/-3 in Math), and instant All India Rank calculation.

Start Free Mock Test Series →