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
code to detect availability of cookies
determine which Element received an Event
create Drop-Down Navigation Menus
how to create a Custom Scrollbar
Create a ViewState Property?
how to create Expandable and Collapsible Menus
function to combine two or more arrays
How to encode and decode URL strings?
how to pass data between pages using Cookies
code to images to rollover
code to keep a page Out of the browser history
how to create a Draggable element
communication between main window and new windows
code to set the main window's size
how to transform XML Data into HTML