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 / 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 are c++ data types?

1177


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

1044


Why is c++ not purely object oriented?

1018


What is an operator in c++?

1072


Difference between pass by value and pass by reference?

1161


You run a shell on unix system. How would you tell which shell are you running?

1178


Where do I find the current c or c++ standard documents?

1099


Is c++ platform dependent?

1091


If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?

1518


Are strings immutable in c++?

1168


How do we implement inheritance in c++?

1137


What is meant by const_cast?

1134


What is a try block?

1080


Which one is better- macro or function?

1206


How can a called function determine the number of arguments that have been passed to it?

1148