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


Please Help Members By Posting Answers For Below Questions

What is c++ virtual inheritance?

595


What are the various oops concepts in c++?

588


Explain the static storage classes in c++.

700


What is a flag in c++?

604


Can you overload the operator+ for short integers?

592






Why c++ is faster than java?

590


What is the difference between an array and a list?

584


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

923


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. --- │ │ │ │ │ │ ---

1641


What is auto used for in c++?

563


Define a pdb file.

635


What is difference between n and endl in c++?

582


Is string data type in c++?

579


What does count ++ do in c++?

686


Write about a nested class and mention its use?

623