×
Aiming for the stars? Great, but did you have to build a rocket first.
--Your friends at LectureNotes
Close

C Language

by Shaina AroraShaina Arora
Type: PracticalInstitute: Arya Institute of Engineering and Technology, Jaipur Specialization: Computer Science EngineeringOffline Downloads: 1Views: 53Uploaded: 3 months ago

Share it with your friends

Suggested Materials

Leave your Comments

Contributors

Shaina Arora
Shaina Arora
Monday, August 13, 2018 C Language Shaina Arora Assistant Prof. (CS) Dept. 1
Monday, August 13, 2018 OVERVIEW OF C  First of All we discuss about why we need a programming language watch Related Video Video https://www.youtube.com/watch?v=QY6392agFK4 One more link about first learn C as your first programming language https://www.udemy.com/learn-c-programming-from-scratch-build-20terminal-apps/learn/v4/t/lecture/3444862 2
Monday, August 13, 2018 C is developed by Dennis Ritchie  C is a structured programming language  C supports functions that enables easy maintainability of code, by breaking large file into smaller modules  Comments in C provides easy readability  C is a powerful language  3
Monday, August 13, 2018 PROGRAM STRUCTURE A sample C Program #include<stdio.h> //Standard input/output header file use certain commands for input or output which use in program. For instance it has commands for input like reading from the keyboard and output commands like printing things on the screen. #include<conio.h> // Console input/output the most commonly used functions of conio.h are clrscr, getch etc. Functions of conio.h can be used to clear screen, change color of text and background, move text, check if a key is pressed or not and many more. void main() //Every program must have a main(). It is the starting point of every program. { --other statements // Comments after double slash getch(); // It is used to hold the screen in simple language. 4

Lecture Notes