Reading which Character Key was pressed
Answer / 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 |
could you please tell me for what javac, javax,swing,awt.*; are using. what is the meaning and differences. and also there are 4 access modifiers in java. public, private, protected, default. what is the meaning of these 4 access modifiers and difference. public is the access modifier void means return data type disp() means function name what mean by static
how to create a Custom Scrollbar
function to combine two or more arrays
how to delay a function call ?
determine which Element received an Event
how to create a Draggable element
how to create an anonymous function
program to show a progress bar
validation code / function to allow only Letters in a text box
code to sorting an array of objects
Reading which Non-Character Key was pressed
Code for Adding Message and Confirmation Boxes Using JavaScript?