#include <stdio.h>
int main()
{
int num = 10;
int *ptr = #
printf("Value of num: %d\n", num);
printf("Address of num: %p\n",
&num);
printf("Value of ptr: %p\n", ptr);
printf("Value of the variable pointed to by ptr: %d\n",
*ptr);
*ptr = 20;
printf("New value of num: %d\n", num);
return 0;
}