Well i didn't consider further code important because i had already
used a printf("test") statement immediately after fgets & it's not
getting executed. I get seg fault eror the instant i hit the...
Type: Posts; User: yogicoder
Well i didn't consider further code important because i had already
used a printf("test") statement immediately after fgets & it's not
getting executed. I get seg fault eror the instant i hit the...
following is the code to accept a string from user, but i get segmentation fault as soon i have finished entering a sentence i.e. as soon as i press the 'enter' key.
#include <stdio.h>
#include...