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

How do you define a string?

0 Answers  


Explain how can you determine the size of an allocated portion of memory?

0 Answers  


What are data structures in c and how to use them?

0 Answers  


Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

0 Answers  


Determine if a number is a power of 2 at O(1).

2 Answers  






a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

0 Answers  


Whats wrong with the following function char *string() { char *text[20]; strcpy(text,"Hello world"); return text; }

3 Answers   Qualcomm,


pascal triangle program

2 Answers  


What does the function toupper() do?

0 Answers  


Which header file is used for clrscr?

0 Answers  


Is there any demerits of using pointer?

0 Answers  


How can you avoid including a header more than once?

0 Answers  


Categories