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
Can a pointer point to null?
What is I ++ in c programming?
What does 3 mean in texting?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
List the difference between a "copy constructor" and a "assignment operator"?
Why & is used in scanf in c?
What is the difference between malloc() and calloc()?
In c language can we compile a program without main() function?
What are different types of variables in c?
How can a string be converted to a number?
What does the file stdio.h contain?
Explain bit masking in c?
Explain the term printf() and scanf() used in c language?
What is logical error?
How do c compilers work?