Repeat string in C | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
0

Repeat string in C

Is there a way to repeat a string For eg. Hello*3 Hello Hello Hello (with space)

8th May 2020, 2:56 AM
Saaquib Motiwala
3 Respostas
0
I have to store it in another variable Igor Kostrikin
8th May 2020, 8:20 AM
Saaquib Motiwala
8th May 2020, 12:21 PM
Igor Kostrikin
Igor Kostrikin - avatar
- 1
You need to create new string or only print result?
8th May 2020, 8:17 AM
Igor Kostrikin
Igor Kostrikin - avatar