10 Points Write C Statements Following Note Pointees Anonymous E Dynanically Allocated Var Q37240144

(10 points) Write C statements to do thefollowing.  Note that the pointees are anonymous (i.e.,dynanically allocated) variables. 1. Declare integer pointervariables named int_ptr1 and int_ptr2.

2. Allocate an anonymous integer variable, and make int_ptr1point to it.

3. Input an integer value from the keyboard and stores it in theanonymous (i.e., dynamically allocated) variable of question 2.

4. Display the value of the anonymous variable of question2.

5. Cause int_ptr2 to point to the anonymous variable of question2.

6. Declare a double pointer variable named double_ptr.

7.Ask the user to enter n, the number of values to be processed;then allocate an anonymous array of n double values, and

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.