fn f(x)
{ if(x<=0)
return;
else f(x-1)+x;
}
Answers were Sorted based on User's Feedback
What is NULL pointer?
What is floating point exception error? And what are different types of errors occur during compile time and run time? why they occur?
how i m write c program 1.check prime number 2.prime number series
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures.
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Write a main() program that calls this function at least 10 times. Try implementing this function in two different ways. First, use an external variable to store the count. Second, use a local variable. Which is more appropriate?
I have a varargs function which accepts a float parameter?
I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....
what is difference between #include<stdio.h> and #include"stdio.h"
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
Write a program to print fibonacci series without using recursion?