Question: What is the output of the following code? int *myPnt; int value1; int value2; value1 = 45%; value2 = 5; myPnt = &value1; value1
What is the output of the following code? int *myPnt; int value1; int value2; value1 = 45%; value2 = 5; myPnt = &value1; value1 = value1+ value2; cout < < *myPnt;
Step by Step Solution
There are 3 Steps involved in it
The code provided has a syntax error in line 5 which should be v... View full answer
Get step-by-step solutions from verified subject matter experts
