You are viewing a single comment's thread from:

RE: SLC21 Week3 - Strings in C

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.

Sort:  

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 !