Write a corrected statement in c++ so that the statement
will work properly. if (x = y) x = 2*z;
Answer Posted / rose
if(x==y)
{
x=2*z;
}
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between new() and malloc()?
What is overloading unary operator?
What is microsoft c++ redistributable?
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
What does n mean in c++?
What are c++ redistributables?
What is a block in c++?
What is the full form of india?
What is c++ good for?
How is c++ used in the real world?
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
Explain the isa and hasa class relationships. How would you implement each?
If I is an integer variable, which is faster ++i or i++?
Explain how to initialize a const data member.
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?