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
Write a program in c to replace any vowel in a string with z?
What is an lvalue?
In C language what is a 'dangling pointer'?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
Where local variables are stored in c?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Define VARIABLE?
What is a loop?
What are c identifiers?
how to create duplicate link list using C???
What should malloc() do?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is the difference between %d and %i?
Why double pointer is used in c?
What is structure and union in c?