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 the c value paradox and how is it explained?
Explain what are preprocessor directives?
Is multithreading possible in c?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
How can I run c program?
Explain #pragma statements.
Is there any demerits of using pointer?
What is the explanation for prototype function in c?
How can I manipulate individual bits?
What are the uses of a pointer?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
What is huge pointer in c?
Is null always equal to 0(zero)?
What is methods in c?
What are the functions to open and close file in c language?