1 |
A binary stream is a sequence of bytes with a.....................correspondence to those on the external devices |
One-to-many
Many-to-many
Many-to-one
One-to-one
|
2 |
Which of the following functions is used to write a string to a file? |
Puts()
Pute()
fputs()
fgets()
|
3 |
Which of the following mode open only an existing file for both reading and writing |
"w"
"w+"<br>
"r+"
"a+"
|
4 |
A file is stored in |
RAM
Hard disk
ROM
Cache
|
5 |
An external variable is variable can be referenced in a declaration |
In main () only
In the first function that uses it
In any function that uses it
Outside of any function
|
6 |
An external variable is defined in a declaration |
In main () only
In the first function that uses it
In any function that mean it
Outside of any function
|
7 |
Which of the following can be passed to a function via arguments? |
Constants
Variables (with values)
Expressions
Preprocessor directives
|
8 |
The variables commonly used in C functions are accessible |
To all other functions
To only one function
To specific functions
To special functions
|
9 |
How many types of functions are present in C-language? |
One
Two
Three
Four
|
10 |
A built-in function |
Cannot be redefined
Can be redefined
Cannot return a value
Should be redefined
|