H
Harry
Hi All,
I had made a mistake in my code when printing a string.
printf(" Hello world %s\n");;
I executed this statement in a while loop. Everytime the application
was invoked,some junk character was printed.
Is there a chance that this statement will cause a segmentation fault
at a particular instance. I have this doubt my application had quited.
I have a doubt that this statement could have caused a segmentation
fault and code would have exited though i have corrected it now.
Any comments on this?
I had made a mistake in my code when printing a string.
printf(" Hello world %s\n");;
I executed this statement in a while loop. Everytime the application
was invoked,some junk character was printed.
Is there a chance that this statement will cause a segmentation fault
at a particular instance. I have this doubt my application had quited.
I have a doubt that this statement could have caused a segmentation
fault and code would have exited though i have corrected it now.
Any comments on this?