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 to add two numbers without using arithmetic operators?

4 Answers  


what type of language is C?

13 Answers   Microsoft,


Explain Function Pointer?

0 Answers   Wipro,


What is the purpose of realloc()?

0 Answers  


Explain how do you sort filenames in a directory?

0 Answers  






1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

0 Answers  


#include<stdio.h> void main() { int a=5,b=6,c; int x=(a<b)+7; int y=(x==7)*9; int z=(c=x+y)*2; printf("%h %h %h",x,y,z); } What is the output? Explain it.

8 Answers   IBM,


Tell me about low level programming languages.

0 Answers   Amdocs,


who will call your main function in c under linux?

2 Answers  


Discuss the function of conditional operator, size of operator and comma operator with examples.

0 Answers   TCS,


#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300

4 Answers   Tieto,


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

0 Answers  


Categories