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

which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1170


Explain that why C is procedural?

648


How can you find the exact size of a data type in c?

589


Where are c variables stored in memory?

590


Difference between MAC vs. IP Addressing

629






Why we use void main in c?

584


How can I find the modification date and time of a file?

596


explain how do you use macro?

657


What does != Mean in c?

579


How many types of functions are there in c?

577


What is a pointer on a pointer in c programming language?

611


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2017


What is "Duff's Device"?

695


Describe wild pointers in c?

629


What do the functions atoi(), itoa() and gcvt() do?

717