dclayton·19 lat temu·discussTry looking at the following alternative notation, and see if it makes more sense: #include <stdio.h> #include <stdlib.h> void fn(char* c) { printf("[%c]\n", *c); } int main() { char* c; c = malloc( sizeof(char) ); *c = 'a'; printf("start\n"); fn(c); return 0; } Regards,dclayton
Regards,
dclayton