PAGETURNER
BOX
REVIEW
GO
Please type in the name of the file pointer
corresponding to the file descriptor 2.
Answer here:
That is correct!
You've got it on the 2nd try.
You've got it finally!
Sorry, try again.
No, try one more time.
Please review Topic 3: Performing Error Handling
FORGET1
The standard file with the file descriptor of 2 is stderr !
Provided there was no padding done by your C compiler,
and the variables of types char, int and float occupied
1, 4 and 6 bytes respectively, the variable of
type uni_type would require ______ bytes ?
typedef union {
char one_char;
int var2;
char two_char[15];
float var3;
} uni_type;
Answer here:
That is correct!
You've got it on the 2nd try.
You've got it finally!
Sorry, try again.
No, try one more time.
Please review Topic 4: The Union Concept
FORGET2
The correct answer is 15 . The union allocates only the space
large enough to hold the largest single variable, and no others!
Which of the following statements is/are TRUE?
a A field is a set of adjacent bits within
a single character.
b When a function name appears in the argument
list it is the function address that
is actually being passed.
c Pointer to a variable of type link
may be declared as: link *new_link.
and argument types match.
d b and c
e none of the above
Select one:
That is correct!
You've got it on the 2nd try.
You've got it finally!
Sorry, try again.
No, try one more time.
Please review Topic 5: Performing Bit Field Manipulations
FORGET3
The correct choice is d . The first statement is false
because a field is a set of adjacent bits within a single int !