What is the value of the expression a = 42?

Answer Posted / vikas

That's why its recommended to use the equality operator
like this:

42==a and not a ==42. This way we can avoid a mojor bug
because of a minor typo.

Vikas
http://www.cppquestions.com/

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do I need microsoft visual c++?

561


Explain some of commonly used methods provided by iunknown.

502


Can I uninstall visual c++ 2005?

561


What is a copy constructor? What is the need for it?

569


What is cmutex?

571






How do I change visual code font?

583


What is microsoft visual c++ 2015 redistributable package x64?

549


What is microsoft visual c++ runtime library error?

546


What is cmutex? How can we use it?

566


What is microsoft visual c++ 2015 redistributable?

583


What is ole? How do you handle drag and drop in ole?

544


Where can I find microsoft visual c++?

563


How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?

1746


What is dao in vc ++?

537


What is cwinthread class?

666