Answer Posted / vinay kumar gupta
#include <stdio.h>
#include<conio.h>
void main()
{
int i,lim;
clrscr();
printf("enter the limit \n");
scanf("%d",&lim);
for(i=1;i<=lim;i++)
{
if (i%2==0)
}
printf("even no. are= %d",i);
getch();
}
| Is This Answer Correct ? | 10 Yes | 11 No |
Post New Answer View All Answers
Does * p ++ increment p or what it points to?
Tell me is null always defined as 0(zero)?
What is c language used for?
What is property type c?
Write a program for finding factorial of a number.
What is bubble sort technique in c?
Which is best book for data structures in c?
Explain how can a program be made to print the name of a source file where an error occurs?
What are c identifiers?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
What is the difference between far and near in c?
Should a function contain a return statement if it does not return a value?
What are the types of data structures in c?
What are the different types of control structures in programming?
Explain the use of keyword 'register' with respect to variables.