Q1. Can we print any cotent in the scanf statement (like, as “Datais”,) is tried to printed in the following program. If no then why not, if yes then why?
Q2.Why the following program is producing outuput as “DATA is 0″ ?
void main()
{
char data;
scanf(“Data is %c”,&data);
printf(“Datais %d”,data);
}