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 prototype in c++ with example?

1090


How delete [] is different from delete?

975


Why do we use constructor?

1011


What is constant in c++ with example?

1110


How do you declare A pointer to function which receives an int pointer and returns a float pointer

1150


What are the uses of typedef in a program?

1052


What is a type library?

1086


What is Destructor in C++?

1155


What is null pointer and void pointer?

1031


Is c++ primer good for beginners?

1004


How to defines the function in c++?

1078


What is command line arguments in C++? What are its uses? Where we have to use this?

1218


What is the importance of mutable keyword?

1004


What is the purpose of template?

1064


If you don’t declare a return value, what type of return value is assumed?

914