← BYTES
C·Starter·Ref: 7.1.10

What character marks the end of a C string literal in memory?

Have a question about this video? Mention reference 7.1.10 when you contact us.

a.A space character
b.A newline character
c.The null byte '\0'
d.The character 'E'
C strings are null-terminated: the actual character data is followed by a single zero byte ('\0') marking the end, which is why functions like strlen() scan until they hit it.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES7110#C