you can also write any statements outside of function definitions:

Code:
#include <acknex.h>

int i, j, k;
i = 10;
j = 20;
k = i + j;

printf("i=%d", i);

function main()
{

}



Nothing will happen, the compiler won't even emit a warning

Fun Fact:
You can implement generic functions with the behaviour that you can take the address of a constant:

Code:
void _list_add(void * list, void * obj, int size);

#define list_add(list, obj) _list_add(list, &obj, sizeof(obj))

...

list_add(myList, 10);
list_add(myList, 20);



Visit my site: www.masterq32.de