14 lines
165 B
C
14 lines
165 B
C
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
|
|
void f(char foo) {
|
|
printf("foo is %d\n", foo);
|
|
}
|
|
|
|
int main(void) {
|
|
char *c = malloc(10);
|
|
f(c[0]);
|
|
free(c);
|
|
|
|
return 0;
|
|
}
|