write the program for prime numbers?
Answer Posted / avinash
#include<stdio.h>
main()
int 1
{
printf("enter a number");
scanf("%d",1)
}
printf("The number is a prime number");
else
printf("The number is not a prime number");
}
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is I ++ in c programming?
What are the properties of union in c?
Can we declare a function inside a function in c?
What is the difference between class and object in c?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
How do you construct an increment statement or decrement statement in C?
There seem to be a few missing operators ..
Which node is more powerful and can handle local information processing or graphics processing?
What is a method in c?
What is the main difference between calloc () and malloc ()?
What does the c preprocessor do?
How can you increase the size of a dynamically allocated array?
What is #include in c?
What does 2n 4c mean?
Difference between strcpy() and memcpy() function?