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
Should you pass exceptions by value or by reference?
What is vectorial capacity?
Why do we use pointers in c++?
What is the purpose of the "delete" operator?
Explain all the C++ concepts using examples.
Write a program to interchange 2 variables without using the third one.
What is a pointer how and when is it used?
What are the basics of local (auto) objects?
What is an associative container in c++?
What are the various compound assignment operators in c++?
What is const in c++?
Define the operators that can be used with a pointer.
How to give an alternate name to a namespace?
Can I make ios apps with c++?
Is java easier than c++?