query: How to allocate by malloc and print arrays of characters?
positive_passages.docid: 7617
positive_passages.text: Do I cast the result of malloc?
negative_passages.docid: 106457
negative_passages.text: How do you make an array of structs in C?
negative_passages.docid: 82147
negative_passages.text: Create a wrapper function for malloc and free in C
negative_passages.docid: 123085
negative_passages.text: How to malloc inside a function and return pointer in C?
negative_passages.docid: 124998
negative_passages.text: Counting characters in C
negative_passages.docid: 7739
negative_passages.text: Segmentation fault on large array sizes
negative_passages.docid: 805
negative_passages.text: Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
negative_passages.docid: 94252
negative_passages.text: How to determine the result of assigning multi-character char constant to a char variable?
negative_passages.docid: 131696
negative_passages.text: Why does malloc(0) return a non-null address in Windows?
negative_passages.docid: 52362
negative_passages.text: Why does C++ require a cast for malloc() but C doesn't?
negative_passages.docid: 149415
negative_passages.text: Programme crashes while deallocating a character array
negative_passages.docid: 82318
negative_passages.text: What is the difference between char array and char pointer in C?
negative_passages.docid: 87590
negative_passages.text: How do you 'realloc' in C++?
negative_passages.docid: 22066
negative_passages.text: sprintf() with automatic memory allocation?
negative_passages.docid: 155564
negative_passages.text: How to copy a char array in C?
negative_passages.docid: 102160
negative_passages.text: Can you allocate an array with something equivalent to make_shared?
negative_passages.docid: 48505
negative_passages.text: How to use a C++ string in a structure when malloc()-ing the same structure?