What is the value of variable s after execution of the program fragment below?

```
char h[6] = "wild";
char p[6] = "crazy";
char s[10];

strcpy(s, h);
strcat(s, p);
```
a. "wild crazy"
b. "wild craz"
c. "wildcrazy"
d. The value of s is undefined.
e. none of the above.


C

Computer Science & Information Technology

You might also like to view...

One way to discover a pattern is to know something about the statistical distribution of quantities that behave in a similar way. _________________________

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

Computer Science & Information Technology

Which of the following authentication solutions use tickets that include valid credentials to access additional network resources?

A. Kerberos B. RADIUS C. Multi-factor authentication D. TACACS+

Computer Science & Information Technology

____________________ links are links that cannot find their intended destinations.

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

Computer Science & Information Technology

Which of the following statements opens a file named info.txt for both input and output?

a. dataFile.open("info.txt", ios::in && ios::out); b. dataFile.open("info.txt", ios::in, ios::out); c. dataFile.open("info.txt", input || output); d. dataFile.open("info.txt", ios::in | ios::out); e. None of these

Computer Science & Information Technology