Name:
Anonymous
2009-05-26 12:38
What's the difference between writing int frozen() and int frozen(void)?
Name:
Anonymous
2009-05-26 12:55
Okay, one more thing;
#include <stdio.h>
#include <stdlib.h>
struct foo
{
char fooc[20];
int fooi;
};
main()
{
foo *bar;
bar = (struct foo *) malloc(sizeof(foo));
bar->fooi = 16;
bar->fooc = "ANUX";
}
Why doesn't the bar->fooc assignment work? Sorry, I'm new to C.