Asked by Boston Bragg on Jul 05, 2024
Verified
Pointers ____ be initialized when they are declared.
A) must
B) must not
C) can
D) cannot
Initialized
Refers to the process of assigning an initial value to a variable or object at the time of its creation in programming.
Declared
A term referring to variables or functions that are given a type and identifier in a program's code but not necessarily initialized.
- Understand the initialization and modification rules for pointers.
Verified Answer
AC
Akash CharlessJul 09, 2024
Final Answer :
C
Explanation :
Pointers can be initialized when they are declared, but it is not mandatory. They can also be assigned a value after declaration.
Learning Objectives
- Understand the initialization and modification rules for pointers.