Question:What is the output of the following code segment?
int n = 9;
int *p;
p=&n;
n++;
cout << *p+2 << "," << n;
 

A 11,9 

B 9,10 

C 12,10 

D 11,10 

+ Answer
+ Report
Total Preview: 760

Copyright © 2024. Powered by Intellect Software Ltd