What is the difference between = and == in C++?
a. They are the same but the == makes it more visible to the programmer
b. == is used to assign a value to a variable and = is used to compare.
c. = is used to assign a value to a variable.
d. == is used for comparison and = is used to assign
d. == is used for comparison and = is used to assign
ReplyDelete