1,023 views
0 0 votes

in this question for foo it will be called with same value again and again  which will result in stack overflow

similar will be happening with bar also as it will be called with value 2 , I am unable to understand why ans is given C ,please explain in some details @Rishab Gupta_2 sir

Please log in or register to answer this question.

Position:
Show:

Related questions

3 3 votes
2 answers 2 answers
1.9k
1.9k views
Manikant Kumar asked Sep 19, 2016
1,878 views
#include<stdio.h main() { char *s="Manikant"; int i=0; printf("%s",s+s -s[4]); // Line-1 printf("\n%d",printf("GATE-2017")); //Line-2 printf("\n%c%d...
1 1 vote
0 0 answers
256
256 views
rushika234 asked Mar 9
256 views
Q1-Consider the details of a paging system given below to answer the questions that follow.Page size 256 bytes, virtual memory address space of 2^14 bytes, physical memor...
0 0 votes
0 0 answers
289
289 views
Suleiman_Rock'n_Roll asked Feb 3
289 views
I want to understand how will priority scheduling + round robin for ties will prevent indefinite blocking?