- #include
- #include
- 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();
- }

What is the problem in this programAfter compile and run
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Sundaram SubramanianRank #150 · 15.2K reputationPosted Aug 3, 2017, 3:25 AM EDT
Md Nayeem77 reputationPosted Aug 3, 2017, 6:09 AM EDT