Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Can anyone explain me why this happens when you declare this in C-
char *string = malloc(sizeof(char));
this should technically create a string of size 1;
but it doesn't,
this is able to store strings upto 30+ characters somehow, why is this happening /where am I wrong?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
test gives out triangles like (12, 47, 21)
just google for "ASCII character code", for example 'A' has ASCII value of 65.