Posts by Daniel Augusto • 3 points
1 post
-
0
votes2
answers88
viewsQ: How can I split a string by semicolon and take the value of each position after the while?
How can I make one split of a string per semicolon and take the value of each position after the while ? Example: result[0] //casa result[1] //carro My code: char str[] ="test;car;bar;mouse"; char *…