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

How do I use arrays in c++?

942


Is turbo c++ free?

1015


What is a c++ object?

1096


True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends

2308


What is oop in c++?

1028


Is swift better than c++?

886


What are the differences between malloc() and calloc()?

1102


What causes a runtime error c++?

1069


What is the use of volatile variable?

1029


Who created c++?

1005


When to use “const” reference arguments in a function?

1009


the first character in the variable name must be an a) special symbol b) number c) alphabet

1035


What is the difference between function overloading and operator overloading?

1031


What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass

1123


What is the difference between #import and #include in c++?

1054