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
How do I use arrays in c++?
Is turbo c++ free?
What is a c++ object?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
What is oop in c++?
Is swift better than c++?
What are the differences between malloc() and calloc()?
What causes a runtime error c++?
What is the use of volatile variable?
Who created c++?
When to use “const” reference arguments in a function?
the first character in the variable name must be an a) special symbol b) number c) alphabet
What is the difference between function overloading and operator overloading?
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
What is the difference between #import and #include in c++?