I compiled the following C program:
But it threw error..Code:#include<stdio.h>
#include<conio.h>
#define str1 str[]
int main()
{
clrscr();
char str1="Come January";
printf("%s\n",str1);
return 0;
}
Can anyone point out where the error is and why is it coming?