Final Flashcards
A______is a collection of related variables under one name.
structure
A_____ is a collection of variables under one name in which the variables share the same storage
union
The bits in the result of an expression using the ______ operator are set to 1 if the corresponding bits in each operand are set 1. Otherwise, the bits are set to zero
bitwise AND (&)
The variables declared in a structure definition are called its
members
In an expression using the ____ operator, bits are set to 1 if at least one of the corresponding bits in either operand is set to 1. Otherwise, the bits are set to zero
bitwise inclusive OR (|)
keyword _____ introduces a structure declaration
struct
keyword _____ is used to create a synonym for a previously defined data type
typedef
in an expression using the _____ operator, bits are set to 1 if exactly one corresponding bits in either operand is set to 1. Otherwise, the bits are set to zero
bitwise exclusive OR(^)
the bitwise AND operator (&) is often used to ____ bits ____ that is to select certain bits while zeroing others
mask
keyword ____ is used to introduce a union definition
union
the name of the structure is referred to as the structure ____
tag name
the ____ and ____ operators are used to shift the bits of a value to the left or to the right, respectively
left-shift operator (<>)
a(n) ____ is a set of integers represented by identifiers
enumeration
Function __closes a file
fclose
The __ function reads data from a file in a manner similar to how scanf reads from stdin.
fscanf
Function __ reads a character from a specified file
fgetc
Function __ reads a line from a specified file.
fgets
Function __ opens a file
fopen
Function __ is normally used when reading data from a file in random-access applications.
fread
Function __ repositions the file position pointer to a specific location in the file.
fseek