fn f(x)

{ if(x<=0)
return;
else f(x-1)+x;
}

Answer Posted / hari

ans is 16384

for further queries and discussions, just check these out !!!

http://forum.campusmaniac.com/
http://www.campusmaniac.com/

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the standard predefined macros?

651


Is there any data type in c with variable size?

633


Is it valid to address one element beyond the end of an array?

675


Give differences between - new and malloc() , delete and free() ?

612


Explain the difference between structs and unions in c?

574






what does static variable mean?

655


How to implement a packet in C

2398


Explain data types & how many data types supported by c?

586


How many keywords (reserve words) are in c?

621


Can you think of a logic behind the game minesweeper.

2010


How can I read data from data files with particular formats?

605


What is the meaning of && in c?

550


Is r written in c?

724


Can a program have two main functions?

572


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

646