ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
What are bit fields? What is their use?
 Question Submitted By :: Superhuman
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are bit fields? What is their use?
Answer
# 1
Bit fields can only be declared inside a structure or a
union, and allow you to specify some very small objects of a
given number of bits in length. Their usefulness is limited
and they aren't seen in many programs, but we'll deal with
them anyway.
 
Is This Answer Correct ?    4 Yes 0 No
Ravi Joshi
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
main() { int a=0; if(a=0) printf("Ramco Systems\n"); printf("India\n"); } output? Ramco6
what is the use of a array in c  4
Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning Accenture4
What is function pointer and where we will use it NetApp1
Toggle nth bit in a given integer - num Qualcomm2
why TCS selected more student in the software field from all institution. TCS3
What compilation do? Geometric-Software7
Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa.  1
how to estimate the disk access time? e.g. the time between read one byte and another byte in the disk. Google3
what is a function pointer and how all to declare ,define and implement it ??? Honeywell3
compute the nth mumber in the fibonacci sequence? TCS7
what is the differnce between AF_INET and PF_INET? Wipro2
what is the difference between <stdio.h> and "stdio.h" Kanbay5
True or false: If you continuously increment a variable, it will become negative? 1) True 2) False 3) It depends on the variable type  5
write a “Hello World” program in “c” without using a semicolon?  3
write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]  4
Write a program to compare two strings without using the strcmp() function Accenture14
biggest of two no's with out using if condition statement  2
write a c program to accept a given integer value and print its value in words  3
Binary tree traversing Qualcomm1
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com