1/8
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
strings
character arrays that must include a null character ‘/0’
strings formatted IO
%s
doesn’t need a &
for loop of string
for(int index = 0; c_style_string[index] != ‘\0’; index++){ }
scanf with strings
stops at the first blank space
null is automatically stored
fgets
stopes at the end line character
null automatically stored
fgets structure
fgets(fgets_string, SIZE, stdin);
works like scanf
conversion specifier
placeholder values in the format string
format string
text between double quotes
escaped characters
nonprinting characters or characters with special meaning