C++ Programming True or False: A) int findsum(int a, int b) is an example of a f
ID: 3583733 • Letter: C
Question
C++ Programming True or False:
A) int findsum(int a, int b) is an example of a function declaration
B) A variable that holds an address of another variable is known as a pointer.
C) Pointers provide open access to memory addresses and, for this reason, can be a security risk
D) The address of a variable is accessed by an ampersand (&), known as an address operator.
E) When parameters are passed by a pointer, no change is reflected back to the original variable
F) A reference variable can hold more than one address
Explanation / Answer
A. Yes the function declaration is true.
Intiki is the return type of the function,findsum is the function name and it takes two parameters a and b both are integer type values.
B. true
The pointer is a special variable which is used to store address of the another variable.
C . True
Pointers provide the open access to the actual variable. Locations so there may have chance to access other classes and re functions.
D.true
Pin high level programming language address of the variable is accessed by the address operator &
E.true
When we try to store the address of the parameter in the pointer it just stores the address of its and the value of the parameter doesn't change.
F.false
A reference variable stores the address of the particular variables value it doesn't store multiple addresses.
Dangling pointer which store only one address each time we refer new address it won't change..
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.