Suppose you have a pointer ptr of type int, and num that is a random integer read from the stdin.
Assign the value of num to the integer variable that ptr points to, and then output the value pointed to by ptr.
Suppose you have a pointer ptr of type int, and num that is a random integer read from the stdin.
Assign the value of num to the integer variable that ptr points to, and then output the value pointed to by ptr.
Sample Input 1:
10Sample Output 1:
10Create a free account to access the full topic