What is the output of the following code?
#includestdio.h
int main( )
{
char ch;
printf("entered character is :");
scanf("%c",&ch);
printf(" ASCII value of character %c is : %d",ch,ch);
return 0;
}

Entered character is :Q

Posted on by