I have that program and the objective is to identify the error so I started with the following statement:Code:#include <stdio.h> #include <stdlib.h> void f(void); void g(void); int main(void) { f(); return 0; } void f(void) { g(); } void g(void) { f(); }
function f calls function g and this calls f and so one... So the stack at a point will just "blow up" and give segmentation fault. My point is: am I right about my point of view or is different ?