38/91 (0) Write statements to do the following: i. Define a pointer type int ptr for pointer variables that contain pointers

38/91 (0) Write statements to do the following: i. Define a pointer type int ptr for pointer variables that contain pointers to int variables. ii. Declare p1 to be a pointer to an int. iii. Dynamically allocate an integer variable and store its address in pl. Assign the value 23 to the variable that p1 is pointing to. V. Declare an int variable a. vi. Let pl point to a. vii. Free the memory allocated to the variable that pl is pointing to. mitatotomonto to do the following:



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *