write a Program to dispaly upto 100 prime numbers(without
using Arrays,Pointer)
Answer Posted / veda
pls explain me the logic of the code of printing n prime
numbers........
| Is This Answer Correct ? | 25 Yes | 20 No |
Post New Answer View All Answers
Explain what are the different data types in c?
How can I implement a delay, or time a users response, with sub-second resolution?
How can you be sure that a program follows the ANSI C standard?
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
How to compare array with pointer in c?
largest Of three Number using without if condition?
Why do we need volatile in c?
How will you delete a node in DLL?
What is a macro?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
What is #define size in c?
What is C language ?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
What is the purpose of scanf() and printf() functions?