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 is the purpose of reserved word using in c#?

881


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

989


What's the difference between abstraction and encapsulation?

848


How is method overriding different from overloading?

992


What can I create with c#?

858


What is view state c#?

829


What do you use c# for?

884


How many types of variables are there in c#?

913


What is a generic c#?

859


Write down the c# syntax to catch an exception

892


What is difference between events and delegates?

896


For methods inside the interface why can’t you specify the accessibility modifier?

910


What problem does Delegate Solve?

931


How do I do implement a trace?

1013


Is array a collection c#?

874