Problem Description Write a program that performs the following in the same order o Declares an integer variable named m
Posted: Thu May 26, 2022 9:35 am
Problem Description Write a program that performs the following in the same order o Declares an integer variable named m,float variable named fx, and character variable named cht. o Prompts the user to enter a value and store it in m, fx, and cht. o Print the value of m, fx, and cht. o Declares a pointer that can point to an integer, float, and character named p1, p2, and p3. o Make the pointer p1 pointed to the location of the variable m. o Make the pointer p2 pointed to the location of the variable fx. Make the pointer p3 pointed to the location of the variable cht. o o Using dereference operator, print the value of the variable pointed to by p1, p2, and p3. o Print the memory address of m, fx, and cht. o Print the address stored in p1, p2, and p3. o Prompts the user to enter another value and store it in m using the pointer p o Print the value of m o Using dereference operator, print the value of the variable pointed to by p1 o Increment x by 1 o Print the value of m o Using dereference operator, print the value of the variable pointed to by p1