Write a program to print prime nums from 1-20 using c
programing?
Answer Posted / musa
#include <stdio.h>
main(){
printf("2 5 7 11 13 17 19");
}
| Is This Answer Correct ? | 10 Yes | 14 No |
Post New Answer View All Answers
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
What does static variable mean in c?
What is the correct code to have following output in c using nested for loop?
What is the purpose of the statement: strcat (S2, S1)?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Difference between goto, long jmp() and setjmp()?
What is dynamic variable in c?
What is static memory allocation?
What are register variables? What are the advantage of using register variables?
What is the difference between arrays and pointers?
Can you please explain the difference between exit() and _exit() function?
What are run-time errors?
Here is a neat trick for checking whether two strings are equal
Does c have enums?