write a c program that prints all multiples of 3between 1
and 50.
Answer Posted / dj
#include<stdio.h>
#include<conio.h>
Void main()
{
int i;
for(i=1;i<=50;i++)
{
if(i%3==0)
{
printf("%d",i);
}
}
grtch();
}
| Is This Answer Correct ? | 24 Yes | 13 No |
Post New Answer View All Answers
program to convert a integer to string in c language'
What does malloc () calloc () realloc () free () do?
How can you determine the size of an allocated portion of memory?
What are the data types present in c?
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What is string constants?
Are bit fields portable?
Can a file other than a .h file be included with #include?
What does c mean in standard form?
What is header file in c?
Can we change the value of static variable in c?
What are different types of operators?
Explain the use of 'auto' keyword