Exam 6: Modularity Using Functions: Part I

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The function ____ converts an ASCII string to an integer.

(Multiple Choice)
4.9/5
(39)

In earlier versions of C, if a function header line omitted a return data type, the return value was, by default, implicitly declared as being of type void.

(True/False)
5.0/5
(34)

Terms used as synonyms for arguments are actual arguments and actual parameters.

(True/False)
4.8/5
(43)

The function ____ returns the common logarithm of its argument.

(Multiple Choice)
4.8/5
(27)

Failure to exactly match the return value with the function's declared data type can lead to undesired results because the return value is always converted to the data type declared in the function's header line.

(True/False)
4.8/5
(41)

___ is an example of a function prototype.

(Multiple Choice)
4.9/5
(44)

All C compilers provide ____ function(s) for creating random numbers, defined in the stdlib.h header file.

(Multiple Choice)
4.7/5
(46)

The purpose of a ____ is to identify the data type of the value returned by the function, if any, provide the function with a name, and specify the number, order, and type of values expected by the function.

(Multiple Choice)
4.8/5
(36)

The value of an expression can be explicitly converted into another type using the cast operator.

(True/False)
4.8/5
(35)

The function ____ returns the natural logarithm of its argument.

(Multiple Choice)
4.8/5
(41)

____ is a prototype of a function that returns no value.

(Multiple Choice)
4.8/5
(28)
Showing 41 - 51 of 51
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)