Question: Which of the following program segments will be successfully executed and display the output 100? int x, *ptr; *ptr = &x; ptr = 100; cout

Which of the following program segments will be successfully executed and display the output 100? int x, *ptr; *ptr = &x; ptr = 100; cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
