write a program for odd numbers?

Answer Posted / aswani

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("enter the two numbers");
scanf("%d %d ",&a,&b);
c=a+b;
printf("%d sum is",c);
getch();
}

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is size of union in c?

598


if p is a string contained in a string?

1421


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

1760


What is a union?

621


What is double pointer in c?

605






What is c++ used for today?

694


How can I read/write structures from/to data files?

567


Is there any data type in c with variable size?

644


What is the best way to store flag values in a program?

589


How will you find a duplicate number in a array without negating the nos ?

1668


Why shouldn’t I start variable names with underscores?

638


Is there any demerits of using pointer?

647


Why isn't any of this standardized in c? Any real program has to do some of these things.

645


the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

785


What is the purpose of macro in C language?

681