Value is given to a variable using
-
conditional statement
-
assignment statement
-
looping statement
-
None of the Above
B
Correct answer
Explanation
Assignment statements using the = operator assign values to variables in C++. Conditional statements (if/else) control flow, and looping statements (for/while) repeat code blocks - none directly assign values.