C

#include  int main() 
{ 
int i=30;
printf("%d\n",printf("%d",printf("%d",i))); 
return 0;
} 

C Program

I thought the following C program is perfectly valid (after reading about the comma operator in C). But there is a mistake in the following program, can you identify it?
#include   int main()
 {         
int a = 1,2;     
printf("a : %d\n",a);       
return 0;
} 

Interesting program

Try guessing the output for the below code!!!!!!!!!

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