fn f(x)

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

Answer Posted / guest

fn(5)
i guess

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between far and near in c?

602


What is the acronym for ansi?

631


What is the purpose of void pointer?

599


Why C language is a procedural language?

623


Can variables be declared anywhere in c?

624






What is c value paradox explain?

576


Write a code to remove duplicates in a string.

629


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1888


Explain what is the difference between far and near ?

651


Which are low level languages?

636


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

1866


Write a program with dynamically allocation of variable.

604


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

625


Which is better oop or procedural?

634


What does == mean in texting?

665