Write a program to print factorial of given number using recursion?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

There is a number and when the last digit is moved to its first position the resultant number will be 50% higher than the original number.Find the number?

1 Answers  


What is the value of h?

0 Answers  


What is the use of sizeof?

0 Answers  


what is the c source code for the below output? 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1

0 Answers  


How can my program discover the complete pathname to the executable from which it was invoked?

0 Answers  


How can I change their mode to binary?

0 Answers  


What is a file descriptor in c?

0 Answers  


Where we use clrscr in c?

0 Answers  


who did come first hen or agg

15 Answers   Infosys,


Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0

6 Answers   Qualcomm,


What is #include stdlib h?

0 Answers  


what will be the output off the following program? #include<stdio.h> int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }

9 Answers   HCL,


Categories