Add two number using class and object in C++ by
Sum is: 30
#include < iostream>
using namespace std;
int sum(int a,int b)
cout<<"Sum is: "<< a+b;
//sum of 3 and 4 using class and object
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!