public void A() {
int x;
x = 8;
x *= 4 + 8 / 2;
}
Given the above code, what is the value of "x"?
Answer Posted / sasi
64 is the correct answer, i will check it practically
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Do while loops yes or no c#?
What is lazy class in c#?
Should I make my destructor virtual?
What do you mean by casting a data type?
Why do we use ienumerable in c#?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!
If you define a user defined data type by using the struct keyword, is it a value type or reference type?
How do you mark a method obsolete?
How do I declare inout arguments in c#?
List out the differences between array and arraylist in c#?
Which is faster hashtable or dictionary?
What is bitwise operator in c#?
What is the use of oops in c#?
In a site to turn off cookies for one page which method is followed?