Help me in solving PPSC17 problem

My issue

Runtime error

My code

#include <stdio.h>

int main() {
	char a="Code";
	char b="Chef";
	printf("%s",a);
	printf("%s",b);
	return 0;
}


Learning course: Complete C language course
Problem Link: Practice Problem in - CodeChef

@chandru_2301
U have to do it like this

#include <stdio.h>

int main() {

  char a[] = "Code";
  char b[] = "Chef";
  printf("%s", a);
  printf("%s", b);
  
  return 0;
}