Examlex

Solved

Give the Output from This Code Fragment

question 17

Short Answer

Give the output from this code fragment:
int *p1,*p2;
p1 = new int;
p2 = new int;
*p1 = 10;
*p2 = 20;
cout << *p1 << " " << *p2 << endl;
*p1 = *p2;
cout << *p1 << " " << *p2 << endl;
*p1 = 30;
cout << *p1 << " " << *p2 << endl;


Definitions:

Nonverbal Cues

Communication signals conveyed through body language, facial expressions, gestures, and tone of voice, as opposed to words.

Conflicting Signals

Mixed or contradictory indications, often in communication, that can cause confusion or misinterpretation.

Conceptual Framework

An analytical tool that is used to organize ideas and establish a structure for thinking about a problem or study.

Treating Others

The manner in which individuals interact with, consider, and care for other people.

Related Questions