Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QUESTION 25 When the less than ( operator is used between two pointer variables, the expression is testing whether: O the value pointed to by
QUESTION 25 When the less than ( operator is used between two pointer variables, the expression is testing whether: O the value pointed to by the first is less than the value pointed to by the second the value pointed to by the first is greater than the value pointed to by the second O the address of the first variable comes before the address of the second variable in the computer's memory the first variable was declared before the second variable O None of these QUESTION 26 O asterisk () o conditional operator ampersand (&) semicolon () O None of these QUESTION 27 When you pass a pointer as an argument to a function, you must: o redeclare the pointer variable in the function call O dereference the pointer variable in the function prototype O use the#includefunc-ptr.h> statement not dereference the pointer in the function's body None of these QUESTION 28 When you work with a dereferenced pointer, you are actually working with: O a variable whose memory has been deallocated copy of the value pointed to by the pointer variable o the actual value of the variable whose address is stored in the pointer variable All of these O None of these QUESTION 29 int array- delete memory: O int deletel O delete [1array: O new array - delete: O None of these QUESTION 30 Which of the following statements is not valid C++ code? int ptr-&num1: int ptr int "num1; o float num1 &ptr2: All of these are valid. O All of these are invalid. QUESTION 31 Which statement displays the address of the variable num1? O cout num1: O coutum1: O cin&num1: O cout &num1: O None of these QUESTION 32 With pointer variables, you canmanipulate data stored in other variables O never O seldonm O indirectly O All of these O None of these
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