+ 1

How to print the value of more than one address of integer assigned

int a=2,b=4. int*pa=&a int*pb=&b cout<<*pa__*pb<<endl;

19th Jul 2017, 2:01 PM
Randeep
1 Odpowiedź
+ 5
?? cout << *pa; cout << *pb; cout << *pa << " " << *pb << endl;
19th Jul 2017, 2:07 PM
jay
jay - avatar