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
What are c++ data types?
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
Why is c++ not purely object oriented?
What is an operator in c++?
Difference between pass by value and pass by reference?
You run a shell on unix system. How would you tell which shell are you running?
Where do I find the current c or c++ standard documents?
Is c++ platform dependent?
If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?
Are strings immutable in c++?
How do we implement inheritance in c++?
What is meant by const_cast?
What is a try block?
Which one is better- macro or function?
How can a called function determine the number of arguments that have been passed to it?