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
What is a hash table in c#?
How garbage collection deals with circular references.
How do you type a null character?
Why do we need to serialize data?
What is .cshtml file?
Is c# different than c++?
What is the difference between private and protected in c#?
What is the difference between overriding and overloading in systemverilog?
Why are strings immutable c#?
What is lazy keyword in c#?
What do you mean by thread safe in c#?
How many bits is int32?
What is dictionary and hashtable in c#?
What are the basics of c#?
Why constructor is used in c#?