Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
what is the problem in this programAfter compile and run
Md Nayeem
Aug 3 2017 5:43 AM
232
Reply
#include<stdio.h>
#include<conio.h>
void
main(){
int
x=0,y=0,result=0;
clrscr();
printf(
"enter first number:"
);
scanf(
"%d"
,&x);
printf(
"enter second number:"
);
scanf(
"%d"
,&y);
result=x+y;
printf(
"sum of 2 numbers:%d "
,result);
getch();
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Check on login page to enable / disable users
I am not getting proper output in this C program.