What is the value of the expression a = 42?

Answers were Sorted based on User's Feedback



What is the value of the expression a = 42?..

Answer / mahesh

42

Is This Answer Correct ?    0 Yes 0 No

What is the value of the expression a = 42?..

Answer / 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

More VC++ AllOther Interview Questions

How do I reinstall visual c++ on windows 10?

0 Answers  


What function is used to trap all mouse messages?

1 Answers  


Do I need all the microsoft visual c++ redistributable?

0 Answers  


hello sir i need movie editing and mixing software .where it is available and what is the site address

0 Answers  


What is cmutex?

0 Answers  






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

0 Answers  


What is the difference between turbo c++ and visual c++?

0 Answers  


What is more efficient to pass as a parameter--a pointer or an object? Why?

1 Answers  


What is microsoft visual c++ 2017 redistributable?

0 Answers  


How do you specify which control is the buddy control?

2 Answers  


What is a mnemonic?

1 Answers  


Explain pointer to the constant and constant pointer? Explain difference between them.

0 Answers  


Categories