#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a=0,b=0,c=0;
printf("enter value of a,b");
scanf("
%d %d",a,b);
c=a+b;
printf("sum is %d",c);
getch();
}
Answer Posted / abhishek
enter value of a,b
10
10
sum is 20
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain what does the format %10.2 mean when included in a printf statement?
How can I find the modification date and time of a file?
Is c language still used?
List some of the dynamic data structures in C?
program for reversing a selected line word by word when multiple lines are given without using strrev
What is the mean of function?
What is c variable?
What is a file descriptor in c?
Explain what is the difference between a string and an array?
Why is python slower than c?
What are the basic data types associated with c?
What is difference between structure and union in c?
How can I remove the leading spaces from a string?
Wt are the Buses in C Language
Explain how can I make sure that my program is the only one accessing a file?