public void A() {
int x;
x = 8;
x *= 4 + 8 / 2;
}
Given the above code, what is the value of "x"?
Answer Posted / nitin
x=8;
x=12/2*8;
x=6*8;
x=48;
The Anwere is 48
| Is This Answer Correct ? | 0 Yes | 16 No |
Post New Answer View All Answers
Illustrate namespaces in c#?
Is null empty or whitespace c#?
Why do we need events in c#?
What are generations and how are they used by the garbage collector?
List the 5 different access modifiers in c#?
How do you prevent a class from being inherited?
What is static variable in c#?
Is array value type in c#?
What is addressof operator?
How do I create a new form in c#?
Can a string be null c#?
What is the difference between var and dynamic types in c# 4.0?
Define the term immutable ?
What is namespace in oops?
What happens if the inherited interfaces have conflicting method names?