Answer Posted / shruti
to print numbers which are even from 0 to 100
main()
{
int i;
puts("THE EVEN NUMBERS ARE:");
for(i = 0 ; i <= 100 ; i++)
{
if(i%2 == 0)
printf("%d", i);
}
}
| Is This Answer Correct ? | 23 Yes | 14 No |
Post New Answer View All Answers
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
What is pointer to pointer in c language?
What is typedef struct in c?
What are the different types of linkage exist in c?
which type of aspect you want from the student.
what is the syallabus of computer science students in group- 1?
Is c is a high level language?
What is %g in c?
What is class and object in c?
What is array of structure in c?
What are 3 types of structures?
Is main is a keyword in c?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
When is a void pointer used?
What are dangling pointers? How are dangling pointers different from memory leaks?