Write a C++ program for the following
Create a function Display() and declare four variables and four pointers of types int,char, double and float in it. You can initialize the variables with any values of yourchoice. After variable initialization, assign addresses of those variables to thecorresponding declared pointers. At the end, you need to print the following values• values stored in all variables• values stored in pointers• addresses of all the variables• addresses of all the pointers• sizes of all the variables• sizes of all the pointers
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here