C Program - Bridge Course
C Program - Bridge Course
C
DEPARTMENT OF MECHANICAL ENGINEERING
N.B.K.R.I.S.T. (AUTONOMOUS)
Objectives:
Brian Wilson Kernighan (Canadian) worked at Bell Laboratories and contributed to the
development of Unix alongside Unix creators Ken Thompson (American) and Dennis Ritchie
(American). Kernighan's name became widely known through co-authorship of the first book on
the C programming language with Dennis Ritchie
// main function -
// where the execution of program begins
int main()
{
return 0;
}
2 scanf() -It reads the character, string, integer etc., from the keyboard.
3 getc() - It reads the character from the file.
4 putc() - It writes the character to the file.
5 fopen() - It opens the file and all file handling functions are defined in stdio.h header file.
highvideo()
movetext()
gotoxy()
wherex()
& wherey().
Application software
^ ! * / |
- \ ~ +
do if static while