Your shifting code is looking awesome and the most I am liking your example of your name. But you did not gave any size to the array that is why it gave an error. And it is good that you fixed it by defining the new array to store the modified string and by defining size of the array. Programming is learnt by the errors and mistakes because when we do the errors we learn new ways and logic for the same problem.
RE: SLC21 Week3 - Strings in C
You are viewing a single comment's thread from:
SLC21 Week3 - Strings in C
I thought first. But even I declared it with large number ex 1000, It gave the same error. Anyway I figured out a way ! Thanks for the feedback !
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You are welcome
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit