It might lead to a logic error when you write code that is hard to understand because control jumps in unexpected ways. A loop can express your intention more clearly.
It is non-standard and...
Type: Posts; User: laserlight
It might lead to a logic error when you write code that is hard to understand because control jumps in unexpected ways. A loop can express your intention more clearly.
It is non-standard and...
This should be removed:
#include<malloc.h>
You should change the use of goto to be a loop.
You should free what you malloc.
What is your current code? Use a debugger to find out at which point the crash occurs. Your mistake lies in code that is executed before that point.