Redirected
retagged by
5,451 views
0 votes
0 votes
options are:

a)24

b)15

c)66

d)50
retagged by

1 Answer

1 votes
1 votes

Not enough data to answer :) Still a try:

In the best case, we need to pass a parameter to a function and we need to save the return address. Assuming sizeof (int) takes word size, this would mean, 2 words. And in factorial (N) there will be N-1 recursive calls so for say N = 76, surely there will be stack overflow. 

But to realize how stupid my explanation is and also the question, please see here:

http://www.tenouk.com/Bufferoverflowc/Bufferoverflow2a.html

Related questions

1 votes
1 votes
1 answer
1
radha gogia asked Jul 24, 2018
1,407 views
Suppose one character at a time comes as an input from a string of letters . There is an option either to 1) print the incoming letter or to 2) put the incoming letter on...
3 votes
3 votes
0 answers
4
h4kr asked Jan 31, 2023
617 views
Number of possible permutations that can be obtained using stack if the input sequence is 1, 2, 3, 4, 5 (in the order) is