How to add individual characters in an array , not using loop | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How to add individual characters in an array , not using loop

I want to add only spaces to an array Is this code is true :- char space[20]={" "," "} If I want only two spaces

26th Oct 2019, 6:11 AM
Abhay
Abhay - avatar
1 Réponse
0
are you looking to add a double space? or single space in separate positions of the string? and how are we finding what position we want space added?
6th Nov 2019, 1:18 AM
Stephen Frey