Solved

What Problem Can You Identify in the Following Program

Question 44

Multiple Choice

What problem can you identify in the following program?
Char name1[] = "Mary";
Char name2[] = "Diane";
Strcpy(name2, "Margaret Veronica") ;


A) It tries to input a string value including whitespace.
B) It tries to assign one string to another using the assignment operator.
C) It tries to compare strings using the comparison operator.
D) It exceeds the bounds of an array.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions