write a 'c' program to sum the number of integer values
Answer Posted / koushik sarkar
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
printf("Enter a integer no:-"); scanf("%d",&a);
printf("Enter a Integer no:-"); scanf("%d",&b);
printf("Sum= %d",a+b);
getch();
}
Is This Answer Correct ? | 13 Yes | 12 No |
Post New Answer View All Answers
What is a 'null pointer assignment' error?
Explain heap and queue.
How are Structure passing and returning implemented by the complier?
What does c in a circle mean?
What does malloc () calloc () realloc () free () do?
What is nested structure in c?
How can I remove the trailing spaces from a string?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
What are data structures in c and how to use them?
Explain what is page thrashing?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
Compare and contrast compilers from interpreters.
Does c have function or method?
Tell us bitwise shift operators?
What are the 5 organizational structures?