IndiaBIX.com
Arithmetic Aptitude Data Interpretation
Logical Reasoning Verbal Reasoning Non Verbal Reasoning
General Knowledge
Sudoku Number puzzles Missing letters puzzles Logical puzzles Playing cards puzzles Clock puzzles
C Programming C++ Programming C# Programming Java Programming
Microbiology Biochemistry Biotechnology Biochemical Engineering
Civil Engineering Mechanical Engineering Chemical Engineering Networking Database Questions Computer Science Basic Electronics Digital Electronics Electronic Devices Circuit Simulation Electrical Enigneering Engineering Mechanics Technical Drawing
Placement Papers Group Disucssion HR Interview Technical Interview Body Language
Aptitude Test Verbal Ability Test Verbal Reasoning Test Logical Reasoning Test C Programming Test Java Programming Test Data Interpretation Test General Knowledge Test
Data Structures Operating Systems Networking DATABASE Database Basics SQL Server Basics SQL Server Advanced SQL Server 2008 JAVA Core Java Java Basics Advanced Java UNIX Unix File Management Unix Memory Management Unix Process Managemnt C Interview Questions The C Language Basics .NET Interview Questions .NET Framework ADO.NET ASP.NET Software Testing

C Programming - Bitwise Operators - Discussion

@ : Home > C Programming > Bitwise Operators > True / False Questions - Discussion

Read more:

"No one is as deaf as the man who will not listen."
- (Proverb)
4. 

Bitwise & can be used to check if more than one bit in a number is on.

[A]. True[B]. False

Answer: Option A

Explanation:

No answer description available for this question.


Sreejith said: (Wed, Sep 7, 2011 07:07:30 PM)    
 
Could anyone please explain me the answer?

Datta said: (Wed, Oct 5, 2011 10:03:30 AM)    
 
1+1=1

Divya said: (Sat, Oct 29, 2011 02:31:43 PM)    
 
Checking if more than one bit in a number is on, is nothing but counting no:of 1s in a number..

int c=0;
for(;num;num>>=1)
{ if (num & 1)
c++;
}
printf(" no:of bits on=%d",c);

Asif Ali said: (Sun, Oct 30, 2011 10:28:36 PM)    
 
Bitwise operator is used for check one bit in a number is on or off both.

Write your comments here:
Name *:     Email:


© 2008-2013 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy

Contact us: info@indiabix.com     Follow us on twitter!