The following C code is giving segmentation fault.
#include #include char *getSegment(char *symbol2,char *symbol3,char *filena