Westonci.ca is the ultimate Q&A platform, offering detailed and reliable answers from a knowledgeable community. Ask your questions and receive detailed answers from professionals with extensive experience in various fields. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.

#include

int main()
{
char ch;
printf("Enter any letter");
ch=getch
();
printf("\nYou Pressed %c",ch);

return 0;
}
whats the error not giving the correct output


Sagot :

Answer:

#include<studio.h>

#include<conio.h>

void main()

{

char ch;

printf("Enter any letter");

scanf("%c",&ch);