Answer Posted / jagdish patel
#include<stdio.h>
#include<conio.h>
void main()
{
char character;
character=getch();
if(isalpha(character))
printf("alpha");
else if(isdigit(character))
printf("digit");
else
printf("pressed key is special key");
getch();
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to copy form data between different pages
how to Scroll a DIV content
code to positioning of window in certain dimensions
snippet to prevent submission of form when certain/any validations got failed
how to create a Draggable element
create Drop-Down Navigation Menus
How to block double clicks
how to create an anonymous function
Create a ViewState Property?
determine which Element received an Event
how to pass data between pages using Cookies
communication between main window and new windows
code to create a new window
how to Auto Scroll the page
code to images to rollover