CHAPTER-4, EDUCATIONAL PROGRAMMING LANGUAGE

1. Arrays can be initialized provided they are —

 
 
 
 

2. A function q that accepts a pointer to a character as argument, and returns a pointer to an array of integer, can be declared as —

 
 
 
 

3. a << 1 will be equivalent to multiplying 'a' by 2, in an 8-bit machine, if –

 
 
 
 

4. A C program contains the declarations and initial assignments
int i = 8, j = 5;
float x = 0.005, y = -0.01;
char c = ‘c’ = ‘d’;
The value of arithmetic expression
2*((i/5)+(4*(j-3)) % (i+j-2)) is –

 
 
 
 

5. #include
main()
{
char ch = ‘A’
while(ch<='F') { switch(ch){ case 'A':case 'B':case 'C':case 'D' ch ++; continue case'E':case'F':ch++; } putchar(ch); } } What will be the output of the above program?

 
 
 
 

6. Bit field —

 
 
 
 

7. Arrays that do not have their dimensions explicitly specified are called —

 
 
 
 

8. A Pointer is —

 
 
 
 

9. An expression —

 
 
 
 

10. A file is preferable to an array of structure because —

 
 
 
 

Question 1 of 10