Hot answers tagged


So, in C, strings don't really exist in the same way that they do in other languages. A string is a char array. C also does not pass strings and arrays between functions, but pointers to the locations in memory where the starting location of the data can be found. In short, this means that what is being passed to printf is not the string s, but a binary ...

Only top voted, non community-wiki answers of a minimum length are eligible