Knowledge Walls
Venkatesan
Hyderabad, Andhra Pradesh, India
Passcode:
Introduction [cont'd]
Input Output Functions [cont'd]
Structures and Unions [cont'd]
# Preprocessor [cont'd]
conio.h in Introduction of Programming in C
1958 Views
Conio.h - Console Input Output 
conio.h header file has all input and output functions to manage all console input and output. It has clrscr(), getch(), getche(), putch(), cprinf(), cscanf() etc.
Program
#include
void main(){
   char ch;
   clrscr();
   printf("Enter a character to find Decimal value\n");
   ch = getch();
   printf("%c has %d value",ch,ch);
}
Output 
Enter a character to find Decimal value
a

a has 97 value
Next Topics
Next lessons of current book.
Introduction of Programming in C
Introduction of Programming in C
Introduction of Programming in C
Best Lessons of "Programming in C"
Top lessons which are viewed more times.
Structures and Unions of Programming in C
Input Output Functions of Programming in C
Structures and Unions of Programming in C
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details