C++: Fix formatting in example

This commit is contained in:
Mathias Vorreiter Pedersen
2020-01-20 16:05:16 +01:00
parent 13fc8741d4
commit fddd3660ab

View File

@@ -1,8 +1,8 @@
/* '#include <stdlib.h>' was forgotton */
/* '#include <stdlib.h>' was forgotton */
int main(void) {
/* 'int malloc()' assumed */
unsigned char *p = malloc(100);
*p = 'a';
*p = 'a';
return 0;
}