What is the output of the following code?
int *p1, *p2;
p1 = new int;
p2 = new int;
*p1=11;
*p2=0;
p2=p1;
cout << *p1 <<" " << *p2 << endl;
a. 11 0
b. 0 11
c. 11 11
d. 0 0
c. 11 11
Computer Science & Information Technology
You might also like to view...
Unlike master items that are overridden, detached master items are no longer affected by any changes made to the master page.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
When making a movie, the folder that contains your categorized clips is called a(n) ________
Fill in the blank(s) with correct word
Computer Science & Information Technology
Any changes you make to the embedded object are reflected only in the destination file
Indicate whether the statement is true or false
Computer Science & Information Technology
A hybrid language cannot be used to write a program using only procedural code.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology