Hi,
I am new to this forum.I am having a bit of problem while coding a program. I am facing a segmentation fault.
Now I get the output till the printf...Code:int main() { //calls fn(); printf("Can i be seen!!"); } void fn() { //some code here printf("Can come here without any problem"); }
I even get the message
Can come here without any problem
But get a segmentation fault immediately.
I am not understanding why i am getting this message...
Can anyone help me...