Write a program of prime number using recursion.


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

Post New Answer

More C Interview Questions

what is diference between return 0 and return NULL??

3 Answers  


Write the syntax and purpose of a switch statement in C.

0 Answers   Adobe,


Are the variables argc and argv are local to main?

0 Answers   TISL,


Explain how can type-insensitive macros be created?

0 Answers  


Explain how do you determine whether to use a stream function or a low-level function?

0 Answers  






44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?

6 Answers   Amdocs,


how many keywords do C compile?

7 Answers   Microsoft, Practical Viva Questions,


What are c identifiers?

0 Answers  


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

0 Answers   L&T,


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  


How can I implement opaque (abstract) data types in C? What's the difference between these two declarations? struct x1 { ... }; typedef struct { ... } x2;

2 Answers  


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

0 Answers  


Categories