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 / chandusrit

x*=4+8/2 =====> x=x*(4+8/2)
This is correct and the answer is 64

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define delegation in .net?

955


What is the difference between malloc () and new?

1126


What is the difference between list and array in c#?

1120


What is difference between constants and read-only?

1032


Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?

1128


What is the difference between struct and class in c#?

1393


Explain the working of serialization?

943


How does c# achieve polymorphism?

995


Does c# support parameterized properties?

1001


What namespace is list in c#?

979


When do you generally use a class over a struct?

1009


What is asax file in c#?

1013


What is xml serialization in c#?

944


What is a variable in c#?

980


Are c# destructors the same as c++ destructors?

1222