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

1. Using the [i] on a string variable does not check for illegal values of i.
2. A string variable and a c-string are the same data type.
3. The function used to 'put two c-strings together into one" is called
4. The following declares a c-string and initializes it to "speaker"
char str[]="speaker";
5. The following declares a c-string variable that will hold 10 letters.
char str[10];


1. TRUE
2. FALSE
3. FALSE
4. TRUE
5. FALSE

Computer Science & Information Technology

You might also like to view...

If you push the following numbers onto an integer stack, what item is on the top of the stack?

(1,4,8,16) a. 1 b. 4 c. 8 d. 16

Computer Science & Information Technology

There are four basic types of password attacks

Indicate whether the statement is true or false.

Computer Science & Information Technology

How is the UEFI Secure Boot security standard designed to combat BIOS attacks?

What will be an ideal response?

Computer Science & Information Technology

Mathematicians have discovered that many of the spirals that occur in nature use a pattern given in the ____ series.

A. Fibonacci B. Goedel C. Church D. Pythagorean

Computer Science & Information Technology