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
What is the file extension for c#?
What are escape sequences explain with example?
What is a c sharp?
What is ControlBox Propertie
What is func delegate in c#?
What is difference between sleep () and wait ()?
What is an escape sequence? Name some string escape sequences in c#.
Is c# different than c++?
Why we use get set in c#?
Is it possible to nest cfml conditional tags?
What is boxing and unboxing in c#?
Can struct inherit from class c#?
What is a generic method?
What do you mean by delegates and explain different types of delegates?
What is Asynchronous call and how it can be implemented using delegates?