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

What is sizeof array?

615


What is the difference between printf and scanf in c?

757


Explain c preprocessor?

686


What is meant by keywords in c?

620


What does typedef struct mean?

664






What is main function in c?

551


What is the difference between array and structure in c?

573


If null and 0 are equivalent as null pointer constants, which should I use?

583


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

1383


Explain the red-black trees?

611


what do you mean by enumeration constant?

601


What is page thrashing?

655


How can I read in an object file and jump to locations in it?

583


What is the use of parallelize in spark?

580


What does the message "automatic aggregate intialization is an ansi feature" mean?

696