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

Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h

1077


Explain stack & heap objects?

995


What is basic if statement syntax?

1015


write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num

2584


How do I exit turbo c++?

1009


Explain what are mutator methods in c++?

1067


What is the output of the following program? Why?

1088


What is the use of typedef?

1038


What are references in c++? What is a local reference?

986


Is string an object in c++?

1108


What are pointers used for c++?

1008


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

1071


Why do we use string in c++?

891


Why c++ is not a pure oop language?

990


Please explain class & object in c++?

1048