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 the ouput of the following program?
What is wpf application in c#?
Where value types are stored in c#?
Can a class have multiple constructors c#?
What is mvc firstordefault?
What is default access specifier for class in c#?
How many classes are there in classification?
What is event and delegates in c#?
What is a sealed class?
How do I know if executenonquery is successful c#?
Is lazy thread safe c#?
What is the difference between null and string empty in c#?
What is the difference between early binding and late binding in c#?
What is the purpose of ienumerable in c#?
Can a constructor be private in c#?