Hello there,

I am getting the error:

Segmentation fault (core dumped)
error in a simple c program. The code is:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>