Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between new() and malloc()?

2079


What is overloading unary operator?

1093


What is microsoft c++ redistributable?

1100


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

1078


What does n mean in c++?

1170


What are c++ redistributables?

1038


What is a block in c++?

1054


What is the full form of india?

1133


What is c++ good for?

1065


How is c++ used in the real world?

1043


Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers

1055


Explain the isa and hasa class relationships. How would you implement each?

1132


If I is an integer variable, which is faster ++i or i++?

1071


Explain how to initialize a const data member.

1138


What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?

1202