2,285 views

8 Answers

0 votes
0 votes
52 is correct answer because in return statement post increment is there so initially it will return 7 itself.
0 votes
0 votes
Are you talking about r();r(); r() ? you can just run it in your computer and see the output.
0 votes
0 votes

@mkagenius, @iiitnaveen we are talking about the question in which there is condition while(n<0) , whether it will terminate or not.

0 votes
0 votes
Q26
Recursive program without termination will give runtime error stack overflow and program will stop because stack size over.

So answer is no output and program will stop

No option matching...Precise and sufficient.

Related questions

0 votes
0 votes
0 answers
1
Ahabnnc asked Feb 27, 2019
869 views
@Arjun Sir : Last year keys were out only 2-3 days before results. So what made you say this for this time ??
5 votes
5 votes
5 answers
2
Ahabnnc asked Feb 19, 2019
3,874 views
Gate answer key says the answer of 2 Input NOR Gate as 4.
0 votes
0 votes
2 answers
3
Ahabnnc asked Feb 18, 2019
728 views
Are the gate keys out yet. If not, any info on when will they be out?
1 votes
1 votes
0 answers
4
Nidhi Budhraja asked Aug 26, 2018
374 views
How do I set deadlines and plan for gate 2019 as I am behind the schedule given by Arjun sir in go classroom ( I have completed discrete maths till now)?