Write a program for finding factorial of a number.


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

Post New Answer

More C Interview Questions

How would you obtain the current time and difference between two times?

0 Answers   TISL,


Is Exception handling possible in c language?

0 Answers   Wipro,


Why do we use main function?

0 Answers  


which one is highest Priority in c? a)=,b)+,c)++,d)==

4 Answers  


WAP to convert text into its ASCII Code and also write a function to decode the text given?

2 Answers  


what is diference between return 0 and return NULL??

3 Answers  


int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }

2 Answers   Vector,


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

0 Answers   HCL,


main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

0 Answers   Wilco,


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  


find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }

10 Answers   Amdocs, TCS,


Does c have function or method?

0 Answers  


Categories