Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 46)
46.
Which of the following assigns the number 5 to the area variable?
area 1 = 5
area = 5
area == 5
area --> 5
area < > 5
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
3 comments Page 1 of 1.

Sudarshan patidar said:   4 years ago
Its simple area is variable name and 5 is the value.

Use assignment operator.

Richie said:   5 years ago
What about (==)?

Pakshak mathur said:   1 decade ago
(=) is a simple assignment operator, it used give to value to the variable address.

Post your comments here:

Your comments will be displayed after verification.