char malloc + uknown characters
query=(char *)malloc(100*sizeof(char));
printf("String meta to malloc %s \n",query);
Hi i have some problems with the dynamic allocation of char...
These two lines give the a string that is not empty
String meta to malloc \uffff\uffff\u0777
P.s The string returns me instead of an empty string some square boxes.... that cannot be print here
|