Write a programme to find even numbers without using any
conditional statement?
Answer Posted / guest
#nclude<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("\n Enter the numbers for a,b,c:");
scanf("%d%d",&a,&b);
c=a/b;
c=0;
printf("The given number is even");
getch();
}
| Is This Answer Correct ? | 6 Yes | 57 No |
Post New Answer View All Answers
What is the difference between new and malloc functions?
Why static is used in c?
What are examples of structures?
How do you generate random numbers in C?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
Explain what are binary trees?
What does the message "automatic aggregate intialization is an ansi feature" mean?
Which is the best website to learn c programming?
Explain what’s a signal? Explain what do I use signals for?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What is const keyword in c?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
What does dm mean sexually?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE