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

What do you mean by saying a "class is a reference type"?

899


What is an example of delegation?

895


What is a nullreferenceexception and how do I fix it?

1000


Which is faster dictionary or hashtable?

837


How do you prevent a method from being overridden in c#?

848


Explain how obfuscator works in .net

979


What is nullable types in c#?

952


Can you create partial delegates and enumerations?

1002


What is cosole application?

1059


What is difference between hashtable and dictionary in c#?

934


Explain the difference between proc. Sent by val and by sub?

905


Can we make a Static Constructor Parameterized? Give Reason with your answer

960


What is a scope in c#?

874


Why do we use threads in c#?

978


When should we use delegates in c#?

911