write a Program to dispaly upto 100 prime numbers(without
using Arrays,Pointer)

Answer Posted / gurpreet

pls explain me the logic of the code of printing n prime
numbers........
plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz..................................

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the message "automatic aggregate intialization is an ansi feature" mean?

711


What is the use of sizeof () in c?

579


What is the difference between memcpy and memmove?

622


What is auto keyword in c?

801


How can I avoid the abort, retry, fail messages?

683






What are the 5 types of inheritance in c ++?

600


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

2663


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

656


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

590


What is the purpose of void in c?

638


What are different types of operators?

614


Can we change the value of #define in c?

594


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

683


What are data types in c language?

600


What is volatile keyword in c?

596