#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
What is extern variable in c with example?
What is restrict keyword in c?
What does c mean in basketball?
What is the meaning of && in c?
How can a program be made to print the line number where an error occurs?
Write a program to print “hello world” without using semicolon?
Explain bitwise shift operators?
Explain what is the best way to comment out a section of code that contains comments?
What should malloc(0) do?
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
Explain what is output redirection?
What are linker error?
What is meant by gets in c?
What is the use of getchar() function?
what is the role you expect in software industry?