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 prototype in c++ with example?
How delete [] is different from delete?
Why do we use constructor?
What is constant in c++ with example?
How do you declare A pointer to function which receives an int pointer and returns a float pointer
What are the uses of typedef in a program?
What is a type library?
What is Destructor in C++?
What is null pointer and void pointer?
Is c++ primer good for beginners?
How to defines the function in c++?
What is command line arguments in C++? What are its uses? Where we have to use this?
What is the importance of mutable keyword?
What is the purpose of template?
If you don’t declare a return value, what type of return value is assumed?