extern char etext; int main() { printf("text ends at : %p main is %p \n", &etext, main); }