Chapter 10 Test 1

Chapter 10 Test 1 - Chapter 10 Test 1 Thursday, February...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1. A _________ is a #define directive that takes arguments and has function-like behavior. A. string B. macro C. variable D. long integer E. None of these 2. To test if a character is a printable character, use the ________ macro. A. isprint B. isprintable C. isprintok D. isoktoprint E. None of these 3. True/False: A test using the isupper macro will return 0 if the argument is an uppercase character. A. True B. False 4. True/False: The isdigit macro will return a 1 (one) if its argument is a digit between 0 and 9. Chapter 10 Test 1 Thursday, February 24, 2011 5:15 AM General Page 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
True B. False 5. The _________ is the escape sequence representing the null terminator. A. \n B. \t C. \0 D. /NULL E. None of these 6. The null terminator stands for the ASCII code _____. A. 57 B. 100 C. 1000 D. 0 E. None of these 7. The ________ function accepts a pointer to a string as an argument, and it returns the length of the string (not including the null terminator). A.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

Chapter 10 Test 1 - Chapter 10 Test 1 Thursday, February...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online