C Structures, C Unions, C Bit-fields Questions And Answers
Here you can find C Structures, C Unions, C Bit-fields Questions and Answers.
Why C Structures, C Unions, C Bit-fields Questions and Answers Required?
In this C Structures, C Unions, C Bit-fields Questions and Answers section you can learn and practice C Structures, C Unions, C Bit-fields Questions and Answers to improve your skills in order to face technical inerview
conducted by Banks. By Practicing these interview questions, you can easily crack any Bank Exams interview.
Where can I get C Structures, C Unions, C Bit-fields Questions and Answers?
AllIndiaExams provides you lots C Structures, C Unions, C Bit-fields Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download
C Structures, C Unions, C Bit-fields Questions and Answers as PDF files and eBooks.
How to solve these C Structures, C Unions, C Bit-fields Questions and Answers?
You no need to worry, we have given lots of C Structures, C Unions, C Bit-fields Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the Bank Exams
interview.
C Structures, C Unions, C Bit-fields Questions & Answers
1. Which of the following are themselves a collection of different data types?
C Structures, C Unions, C Bit-fields Questions & Answers
2. User-defined data type can be derived by___________.
C Structures, C Unions, C Bit-fields Questions & Answers
3. Which operator connects the structure name to its member name?
C Structures, C Unions, C Bit-fields Questions & Answers
4. Which of the following cannot be a structure member?
C Structures, C Unions, C Bit-fields Questions & Answers
5. Which of the following structure declaration will throw an error?
C Structures, C Unions, C Bit-fields Questions & Answers
6. What is the output of this C code?
void main()
{
struct student
{
int no;
char name[20];
};
struct student s;
s.no = 8;
printf("%d", s.no);
}
C Structures, C Unions, C Bit-fields Questions & Answers
7. Number of bytes in memory taken by the below structure is?
struct test
{
int k;
char c;
};
C Structures, C Unions, C Bit-fields Questions & Answers
8. Size of a union is determined by size of the.
C Structures, C Unions, C Bit-fields Questions & Answers
9. Comment on the following union declaration?
union temp
{
int a;
float b;
char c;
};
union temp s = {1,2.5,’A'}; //REF LINE
Which member of the union will be active after REF LINE?
C Structures, C Unions, C Bit-fields Questions & Answers
10. What would be the size of the following union declaration?
union uTemp
{
double a;
int b[10];
char c;
}u;
(Assuming size of double = 8, size of int = 4, size of char = 1)