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 are the advantages of inheritance in c++?

1089


Should you pass exceptions by value or by reference?

1127


What is searching?

1103


Write about all the implicit member functions of a class?

1054


A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

3880


What is long in c++?

1235


Discuss the possibilities related to the termination of a program before entering the mainq method?

941


what is data encapsulation in C++?

1055


What is a breakpoint?

1014


What are manipulators used for?

1087


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

1146


What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?

1099


What is c++ hiding?

1186


What are friend functions in C++?

1055


Tell me difference between constant pointer and pointer to a constant.

1174