Try guessing the output for the below code!!!!!!!!!
What is the output?
(give input as: give me treat)
#includeint main()
{
char dummy[80];
printf("Enter a string:\n");
scanf("%[^a]",dummy);
printf("%s\n",dummy);
return 0;
}