check prime number in c
Prime number is a number there are divisible by itself value and number 1.
Given two solution of this problem.
1) using recursion (without using any Loop)
2) using iterative (using loop)
1) Using recursion
program to check prime number in c using recursion
View execution process.
2) Using loop
Program to check prime number in c using while loop.
- Dynamic allocation of array in c
- Reverse array elements
- Count occurrence of duplicate element
- Program to find nth largest number in an array
- Program to print the Alternate elements in an array
- C program to count frequency of each element in an array
- Count sum of all bst node using queue
- Print middle N nodes of linked list
- Program for Decimal to Binary Conversion