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

Is c++ the most powerful language?

1157


Explain how functions are classified in C++ ?

1297


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

1064


What are namespaces in c++?

1139


What is a pointer with example?

1332


Why do we need constructors in c++?

1159


What is the difference between a definition and a declaration?

1113


the maximum length of a character constant can be a) 2 b) 1 c) 8

1147


Why would you use pointers in c++?

1215


What is std :: endl?

1077


How come you find out if a linked-list is a cycle or not?

1083


What is the main purpose of overloading operators?

1207


What is #include c++?

1198


In a function declaration, what does extern mean?

1115


Difference between pointer to constant and constant pointer to a constant. Give example.

1175