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 is a dynamic assembly?

905


Is array reference type in c#?

845


What is variable and its classification?

891


What is a hashset c#?

960


Is c# difficult to learn?

814


What are sorted lists?

850


What is the relationship between a process, application domain, and application?

886


Can a child class call the constructor of a base class?

985


Is lazy thread safe c#?

832


What are the drawbacks of extending an interface as opposed to extending a class?

815


Is comparable a functional interface?

840


What is console application with example?

864


What is the difference between convert and parse in c#?

870


Why is c# a good programming language?

916


Give an example of a directcast.

870