Signal: segmentation fault (core dumped)

Hello, coding guys,

I am having the error shown in the title, this is the source code:

#include <stdio.h>

void println(str) {
	printf(str + "\n");
}

int main(void) {
  println("Hello World");
  return 0;
}
1 Like