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
maximizing the main window
snippet to prevent submission of form when certain/any validations got failed
communication between main window and new windows
how to create Expandable and Collapsible Menus
Create a ViewState Property?
function to combine two or more arrays
sample code to auto focusing the first field in a form
how to copy form data between different pages
how to create an anonymous function
code to positioning of window in certain dimensions
I have a doubt regarding including tags in a function. I have written a function in javascript in a html page. The function got called by clicking a button, i want to display the results in same html page by placing tags in the function. (this hmtl page is static page) Is this possible? example: