Buy Questpond's video subscriptions on
huge discount
.
Online: 1582
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
>
ASP.NET
>
Loading ...
Bitwise OR operator in C# is
Posted by
Puneet20884
on 1/15/2010 | Category:
ASP.NET Interview questions
| Views: 7988
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Select from following answers:
OR
||
|
XOR
All Above
XOR
Show Correct Answer
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
State True or False: C# supports multiple-inherita ...
Next > :
The keyword ‘int’ maps to one of the following .NE ...
Comments or Responses
Posted by:
Raja
on: 1/15/2010
Hi Puneet,
Thanks for the useful information, however it would have been great if you would have given a paragraph of explanations about this operator.
Kindly provide this, I was not aware about this and want to know more about this.
Thanks and waiting.
Posted by:
Puneet20884
on: 1/16/2010
Thanks Raja and nice to know you intereset in it,
You can check this on a nice blog there i found it :
http://weblogs.asp.net/alessandro/archive/2007/10/02/bitwise-operators-in-c-or-xor-and-amp-amp-not.aspx
Posted by:
Hani
on: 1/18/2010
Answer is shown as "XOR"... i guess its need to be corrected to "|"
Posted by:
Supriya_y
on: 2/9/2010
Correct answer for this is 2 nd one i.e ||
Posted by:
Hani
on: 2/10/2010
The answer for this is "|" and not "||"...
"||" performs a logical OR and "|" performs a bitwise OR.
Please refer the following msdn links for more details...
http://msdn.microsoft.com/en-us/library/kxszd0kx(VS.71).aspx
http://msdn.microsoft.com/en-us/library/6373h346(VS.71).aspx
Login to post response
More Interview Questions by Puneet20884
The keyword ‘int’ maps to one of the following .NET types
The method that transfers ASP.NET execution to another page, but retur ...
The RangeValidator control supports the following datatype
What is ACID ??
How will you prevent your Image not to come from caching (Issue genera ...
How the SQL Server Session state entry is in the Web Config ??
Illustrate Server.Transfer and Response.Redirect?
Difference between ASP Session and ASP.NET Session?
Latest Interview Questions
What is an execution plan? When would you use it? How would you view t ...
How to implement one-to-one, one-to-many and many-to-many relationship ...
What are sp_configure commands and set commands?
What is BCP? When does it used?
Can SQL Servers linked to other servers like Oracle?
How to get @@ERROR and @@ROWCOUNT at the same time?
What is Log Shipping?
What is SQL Profiler?
More ...