Buy Questpond's video subscriptions on
huge discount
.
Online: 1183
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
C#
>
Loading ...
What will be the output of below code?
int total = 8 - 4 + 4 + 2 * 2;
Posted by
vishalneeraj-24503
on 12/18/2013 | Category:
C# Interview questions
| Views: 4044 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Select from following answers:
12
20
16
14
All Above
Answer will be 12.
It will first multiply as
2 * 2 = 4
8 - 4 + 4 = 8
8 + 4 = 12
Show Correct Answer
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
What is syntax for SQL-Server BETWEEN operator?
Next > :
What will be the output of below code? int tota ...
Comments or Responses
Login to post response
More Interview Questions by vishalneeraj-24503
What will be the output of below code? int total = ((8 - 4) + (4 + ...
What will be output of Text variable of below Code? string text = & ...
What is the output of below code? string text = "Vishal Kumar ...
How to refresh Page automatically in a interval of 15 seconds?
What is an alternate way of Converting Integer value to Varchar other ...
How to Convert Integer into Varchar in Sql-Server Database?
How many ways we can merge one DataTable into another DataTable?
What is the use of Merge method in Ado.Net?
Latest Interview Questions
Your developing web application which access data from a MS sql and ha ...
Differences between ISNULL and NULLIF ?
What will be output of following function when called? public strin ...
How to assign a value to a textbox through javascript?
DB2 - Display the employee details who are working from more than 1 an ...
DB2 - Fetch the current date and time in the following format 24/APR ...
DB2 - Find the NAMEs that have an even number of letters in them
DB2 - Find the count of departments having average salary greater than ...
More ...