Comment on assignment operator in c++.



Comment on assignment operator in c++...

Answer / Sajal Shukla

The assignment operator (=) in C++ is used to assign the value of the right operand to the left operand. For example, in the statement `x = y;`, the value of `y` is assigned to `x`. It has a higher precedence than arithmetic operators.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

When does a name clash occur in c++?

1 Answers  


What are single and multiple inheritances in c++?

1 Answers  


What is insertion sorting?

1 Answers  


Show the declaration for a pointer to function returning long and taking an integer parameter.

1 Answers  


What is the difference between operator new and the new operator?

3 Answers   Amazon, TCS, Wipro,


What is the real purpose of class – to export data?

1 Answers  


What is binary object model?

1 Answers  


Write a function that swaps the values of two integers, using int* as the argument type?

1 Answers  


What is the outcome of cout< a) 16 b) 17 c) 16.5

1 Answers  


write a c++ program that gives output 4 3 4 2 3 4 1 2 3 4 using looping statement

4 Answers  


Write bites in Turbo c++ Header ("Include") Files.

1 Answers  


What are the four partitions in which c++ compiler divides the ram?

1 Answers  


Categories