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 is c++ virtual inheritance?
What are the various oops concepts in c++?
Explain the static storage classes in c++.
What is a flag in c++?
Can you overload the operator+ for short integers?
Why c++ is faster than java?
What is the difference between an array and a list?
Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
What is auto used for in c++?
Define a pdb file.
What is difference between n and endl in c++?
Is string data type in c++?
What does count ++ do in c++?
Write about a nested class and mention its use?