Are these things
void main(){}/*declaration of main as void*/
int foo();/*without void in args*/
void a(){
printf("hi...");
}/* no return statement*/
int main(){
void* a=malloc(40);/*(I'd personally never do this
not freed, even though end of program is right here*/
}
really bad? For the last, how about some heap nodes held by static pointers needed for the whole program? Do i have to call a freeing function at the end of a program?
Thats all.
{2}rIng
to TokoG:
I'm actually a high school student :) If you look at my page, I'm only 15...
The classes are the usual...English, History/Geography, some math (Geometry, probably my favorite subject), a science class (sadly Biology, I'd rather have chemistry...), and a pathetic class for Computer...jk, its only Graphics, no fun stuff
My Electives are Video Editing and Band...should have taken Biochemistry...half chemistry at least...oh well...Band was better.
Thats enough about me. Sorry