Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

program for reversing a selected line word by word when multiple lines are given without using strrev

2420


What are the key features in c programming language?

1004


What is null pointer constant?

1059


Explain what is the benefit of using an enum rather than a #define constant?

1168


In C programming, what command or code can be used to determine if a number of odd or even?

989


How can you increase the size of a dynamically allocated array?

1131


largest Of three Number using without if condition?

1525


Why is #define used?

1228


What is function definition in c?

1016


When c language was developed?

1010


What is FIFO?

1539


p*=(++q)++*--p when p=q=1 while(q<=6)

1696


How many bytes is a struct in c?

1104


What is a newline escape sequence?

1053


Explain what is the stack?

1041