Write a function named string_equal that returns 1 if its two string arguments match exactly and returns 0 otherwise.

What will be an ideal response?


```
int
string_equal(const char *str1, const char *str2)
{
return (strcmp(str1, str2) == 0);
}
```

Computer Science & Information Technology

You might also like to view...

In the accompanying figure, the view indicated by item 3 allows you to ____.

A. redesign your spreadsheet B. delete an entire spreadsheet C. view each record displayed as a list D. select criteria to use as the filter

Computer Science & Information Technology

A Table style controls:

A) the fill color of the header row and rows of records. B) check boxes to select format actions such as Total Row. C) check boxes to select format actions such as Header Row. D) the background and watermarks of a worksheet.

Computer Science & Information Technology

By default, the History panel lists the previous ____ states.

a. 5 b. 10 c. 15 d. 20

Computer Science & Information Technology

1000Base SX networks use __________________ fiber-optic cable.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology