Which assignment statements will copy the value " toaster" into a string variable (str1)?

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

b. str1 = "toaster";

Computer Science & Information Technology

You might also like to view...

A ________ name is a word or string of characters that represent one or more cells

Fill in the blank(s) with correct word

Computer Science & Information Technology

The width of feathering is measured in ____.

a. inches b. millimeters c. pixels d. grids

Computer Science & Information Technology