CIS 1500 Chapter Notes - Chapter 6: Null Character, C String Handling

44 views1 pages

Document Summary

An array can be created with two dimensions int numvalues[r][c] R being rows and c being columns, for example. Two-dimensional array is conceptually a table of values since it is applying two- dimensional shits to one-dimensional fucks. A character array is characterized by char userchars[0] A string array is characterized by char userstrings[0][0] There are two sets of brackets but it is a normal one-dimensional array. An array of characters ending with a null-character is called a null-terminated string. To work with c strings include #include for string related functions.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions