#include <iostream> using namespace std; int main() { int f,s,*p,*q,sum; cout<<"Enter two integers to add\n"; cin>>f>>s; p= &f; q=&s; sum= *p + *q; cout<<"Sum of two numbers = "<< sum; return 0; }
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments