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
Define private, protected and public access control.
Explain linear search.
Do class declarations end with a semicolon?
What is abstract class in c++?
Is main a class in c++?
Is c++ a dying language?
what is a class? Explain with an example.
Can you sort a set c++?
What is an undefined behavior and sequence points
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?
Who invented turbo c++?
Write a C++ Program to check whether a number is prime number or not?
What is size_type?
Should the member functions which are made public in the base class be hidden?
what is the difference between overloading & overriding? give example.