Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1a. Write the C++ statement that will correctly declare a pointer variable fptr, which has base type float. (2 marks) b.Write the C++ statement that
1a. Write the C++ statement that will correctly declare a pointer variable fptr, which has base type float. (2 marks)
b.Write the C++ statement that will correctly make pointer variable fptr point to the storage location with variable name x, assuming that both variables have already been declared. (2 marks)
c.Differentiate between *var and &var in pointer manipulations. (1 marks)
Need help
1a. Write the C++ statement that will correctly declare a pointer variable fptr, which has base type float. (2 marks)
b.Write the C++ statement that will correctly make pointer variable fptr point to the storage location with variable name x, assuming that both variables have already been declared. (2 marks)
c.Differentiate between *var and &var in pointer manipulations. (1 marks)
Need help
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started