ALLInterview.com :: Home Page
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Testimonials Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
   
 
Categories >> Software >> Programming Languages >> C
 


 

 
Question write the program for prime numbers?
 Question Asked In Companies :: Aptech, Infosys, TCS,     < I also faced this Question! >
 Question Submitted By :: aaaa
  Answer Posted By  
 
Answer
This program is to check a given number is prime or not
(or) list the prime numbers in a given no.

For example, the user enter the no is 50. the program is
list the prime numbers in 50.

Is This Answer Correct ?    402 Yes 262 No


 
  vasanth
 
View All Answers
 
 
Please Help Members By Posting Answers For Below Questions
 
 Question Views   Select
 
How will you find a duplicate number in a array without negating the nos ? 400
write a program to print largest number of each row of a 2D array 676
how can i get the output 54321 4321 321 21 1 in c programming........???? pls help...... 9536
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity. 953
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ? 398
how to find binary of number? 936
what is reason of your company position's in india no. 1. 602
What is pre-emptive data structure and explain it with example? 1957
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER 395
write a program to find out prime number using sieve case? 448
what are bit fields? What is the use of bit fields in a structure declaration? 344
what is a function method?give example? 677
program for reversing a selected line word by word when multiple lines are given without using strrev 748
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE.. 341
while initialization of array why we use a[][2] why not a[2][]...? 605
E-Mail New Answers        Answer Selected Questions