Write a corrected statement in c++ so that the statement
will work properly. if (x = y) x = 2*z;
Answer Posted / kannan
if(x==y)
printf("x=2*z");
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is c++ the most powerful language?
Explain how functions are classified in C++ ?
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
What are namespaces in c++?
What is a pointer with example?
Why do we need constructors in c++?
What is the difference between a definition and a declaration?
the maximum length of a character constant can be a) 2 b) 1 c) 8
Why would you use pointers in c++?
What is std :: endl?
How come you find out if a linked-list is a cycle or not?
What is the main purpose of overloading operators?
What is #include c++?
In a function declaration, what does extern mean?
Difference between pointer to constant and constant pointer to a constant. Give example.