8. How can you assign the value "toaster" to a c-string name str of size 10?

a. str="toaster;
b. str=toaster;
c. strcpy(str,"toaster");
d. str.strcpy("toaster");


d. str.strcpy("toaster");

Computer Science & Information Technology

You might also like to view...

The general functions like Program 108 are the kind where the index array notation is really useful. Write reverse, copy, and clip using index array notation.

What will be an ideal response?

Computer Science & Information Technology

A ________ box is used for a specific purpose and requires an action by the user

A) message B) dialog C) warning D) window

Computer Science & Information Technology

The two components of a hyperlink are called the source and its target.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Although considered obsolete, the term _________ is sometimes used instead of significand.

A. minuend B. mantissa C. base D. subtrahend

Computer Science & Information Technology