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 create a Draggable element
code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc
how to create a Custom Scrollbar
code to sorting an array of objects
code to images to rollover
how to pass data between pages using Frames
how to convert between arrays and strings
how to get the User's Time of Day
communication between main window and new windows
Create a Menu that can be activated while clicking on Right Mouse button
how to Scroll a DIV content
maximizing the main window
function to combine two or more arrays
code to keep a page Out of the browser history