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
 
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA 321
the question is that what you have been doing all these periods (one year gap) 497
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE 339
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record 1959
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ? 1362
how we can make 3d venturing graphics on outer interface 1848
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain..... 297
write a program to concatenation the string using switch case? 416
how would a 4*3 array A[4][3] stored in Row Major Order? 427
What is the proper way of these job Tell me about there full work 8
write a c program to calculate sum of digits till it reduces to a single digit using recursion 417
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping, 348
how to make a scientific calculater ? 317
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused) 469
Explain the process of converting a Tree into a Binary Tree. 539
E-Mail New Answers        Answer Selected Questions