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 does it mean to declare a member variable as static?
Explain the operation of overloading of an assignment operator.
Show the declaration for a pointer to function returning long and taking an integer parameter.
What is a literal in c++?
Does improper inheritance have a potential to wreck a project?
Explain the difference between struct and class in terms of access modifier.
Explain what are accessor methods?
Explain the register storage classes in c++.
What is the use of setfill in c++?
Write about the access privileges in c++ and also mention about its default access level?
Explain all the C++ concepts using examples.
Define anonymous class.
What are c++ tokens?
Comment on local and global scope of a variable.
What is c++ & why it is used?