Which statement is false?

a) Function strcpy copies its first argument into its second argument.
b) Function strncpy does not necessarily copy the terminating null character of its second argument.
c) A common error is not appending a terminating null character to the first argument of a strncpy when the third argument is less than or equal to the length of the string in the second argument.
d) The first character of the second argument of strcat replaces the null character that terminates the string in the first argument.


a) Function strcpy copies its first argument into its second argument.

Computer Science & Information Technology

You might also like to view...

URL is an acronym for_______.

a) Universal Resource Locator. b) Uniform Resource Locator. c) Both a and b. d) None of the above.

Computer Science & Information Technology

Explain the difference between a compile-time error and a run-time error. Give an example of each.

What will be an ideal response?

Computer Science & Information Technology

The class ObjectInputStream contains all of the following methods except:

(a) readLine() (b) readChar() (c) readObject() (d) readInt()

Computer Science & Information Technology

Which of the following is NOT part of the File Explorer interface?

A) Content pane B) Address bar C) Navigation Pane D) Status bar

Computer Science & Information Technology