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...

public void A() {
int x;
x = 8;
x *= 4 + 8 / 2;
}
Given the above code, what is the value of "x"?

Answer Posted / aspdev556

Sorry for the confusion, figured it out.
x = x * 4 + 8 / 2 only multiplies x by 4 not the whole
expression.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does executescalar return in c#?

946


What is sqlcommandbuilder c#?

994


What is the use of console readline () in c#?

906


Suppose two interfaces have same method, so how will you implement these methods in derive class?

1055


What is expression tree with example?

959


What is this keyword in C#?

1035


What is Implementation inheritance

1024


Can you have parameters for static constructors?

989


How to sign an assembly with strong name?

1060


What is lastindexof c#?

918


Why do we need collections in c#?

920


What is data binding with example?

1040


Is c sharp free?

969


What is ienumerable <> in c#?

959


What is bit in c#?

1036