<commit_before>////////////////////////////////////////////////////////////////////////////////
// Comments

// Explores autoincrementing a pointer while also dereferencing it.

// I hope that this isn't an undefined behavior thingymajigy, but it certainly
// appears as though `*(s++)` does exactly what you would think it does; namely
// it dereferences `s`, executes the expression, then it autoincrements `s`.
// That is, it doesn't autoincrement `s` then dereferences it (after all the
// autoincrement is parenthesized). If it did the latter, then the 'G' in "God"
// would not print.

////////////////////////////////////////////////////////////////////////////////
// Libraries

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

////////////////////////////////////////////////////////////////////////////////
int main (void) {
	char * s; // Generic string

	s = malloc ((size_t) 50);
	s = strcat (s, "God be with you, goodwife Wallace!\n");

	while (*s != '\0')
		putchar (*(s++));

	return 0;
}<commit_msg>Added free()<commit_after>////////////////////////////////////////////////////////////////////////////////
// Comments

// Explores autoincrementing a pointer while also dereferencing it.

// I hope that this isn't an undefined behavior thingymajigy, but it certainly
// appears as though `*(s++)` does exactly what you would think it does; namely
// it dereferences `s`, executes the expression, then it autoincrements `s`.
// That is, it doesn't autoincrement `s` then dereferences it (after all the
// autoincrement is parenthesized). If it did the latter, then the 'G' in "God"
// would not print.

////////////////////////////////////////////////////////////////////////////////
// Libraries

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

////////////////////////////////////////////////////////////////////////////////
int main (void) {
	char * s; // Generic string

	s = malloc ((size_t) 50);
	s = strcat (s, "God be with you, goodwife Wallace!\n");

	while (*s != '\0')
		putchar (*(s++));

	free (s);

	return 0;
}
{'fraction_non_alphanumeric': 0.33688802714493454, 'fraction_numerical': 0.003877847794474067, 'mean_word_length': 1.510948905109489, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4797115', 'n_tokens_mistral': 546, 'n_tokens_neox': 509, 'n_words': 217}