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...

Following up on a tip that there is drug trafficking going on in a particular apartment, you knock on the door and ask if it is okay to enter. The person who answers the door gives you permission and even says it's okay to look around. Under the couch cushions in the living room you discover a baggie containing illegal drugs. You arrest all residents of the apartment for possession. At the trial,

the defense attorney argues that the person who answered the door was only a roommate and did not have the authority to give permission for the search without all other residents being present. This argument is dismissed on what principle? a. The concept of actual authority b. Landlord/Tenant authority c. Common authority d. The argument won't be rejected. The search was clearly illegal.

Computer Science & Information Technology

Security reviews are primarily an ____ function.

A. audit B. oversight C. implementation D. intrinsic

Computer Science & Information Technology