Ask your own question, for FREE!
Computer Science 12 Online
OpenStudy (anonymous):

How can i insert white spaces in a string (in C)?

OpenStudy (rsmith6559):

Strings don't exist in C, they're arrays of char (acters). You can, if you have enough room in the array, shift some of the characters and then in the vacated space assign ' ' or 0x20 or 32, three versions of a space, literal, hexadecimal and decimal ASCII codes.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!