Program to add 2 integer using function Post author:admin Post published:July 5, 2020 Post category:c++ Post comments:0 Comments #include #include main() { int a,b,c; clrscr(); cout<>a; cout<>b; int sum(int,int); c = sum(a,b); cout<<"n Addition of "<<a<<" and "<<b<<" is <<c; getch(); } int sum(int x,int y) { int z; z=x+y return(z); } Tags: c+ You Might Also Like Program to enter the detail of employee and display back on screen July 5, 2020 Program to implement the concept of pure virtual function. July 5, 2020 Program to update content of data member by using concept of friend function. July 5, 2020 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.