hi everyone . i am new to the fourm and i was trying to compile a file using gcc to catenate two string but keep getting a segmentation fault
this is the source code
This is the message i get when i try to debug it with gdb :
printf("\n enter any string ");
printf("\n enter another string");
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7aade97 in _IO_vfscanf () from /lib/libc.so.6
can anyone help me out with this ??