Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

COMPUTER PROGRAMMING

Rating
-
Sold
-
Pages
19
Uploaded on
29-03-2022
Written in
2017/2018

Here I am providing my hand-written notes on COMPUTER PROGRAMMING holds good for Engineering 1st year student. This notes contains basic information about history of C Programming, printf (), scanf (), main(), comment, braces, semi-colon, important shortcut keys, data type and many more. It also covers some basic hand written C Programs for easy understanding. This notes will be helpful for the beginners of C Language. Thank you!

Show more Read less
Institution
Course

Content preview

(O
O




3




P

, Features of CC

C is a
general purpose structured programming language.
Combilers are
Commonly available for aill
tybes
Combuter, havinq di ffereot Platfbrms, diferent
and diPferent
micro - Processor
operating systemS

Jeneral rules or writng C
programs
Cis
aree style language. s0 program Stakements Can Start
at
any Column, blank Lines and spaces be
may tnserted as
appropr2ate in a
program
C statement s terminated by a Semicolon Ci). 6o
Statement
a
single
Can extended to moany une or
multble statements
Separated by Semicolon Ci) Can be written in a Single ine
C is Case sehSitive. So
the word E LSE , ELse and else are
treated differently
v) ALl C
keywords have to be used in lowercase only.
Each block instaucton is embedded n Curly braces {'6'},
whtch are equivalent to begin and stop.
vi) We can write the Source Code
oC program in notepad also bu
we have to Save the
file with exten ston name .c.
Example - t include < Stdio h>
man )



intt (" Hello,
everybody ! This is my st,)5
Program )

, # include <stdio h>
nis LS a
preprocessor Command. This statements tetlS t n e
Pro cessor to include the
information Contatns in the LE
Stdio h> standard inbut outbut header file before it is passed
for Comptlation, the file contain a routin to Per form the basic
nput and output.


Comment
Any set of character betuween and " */** is Known as
a
Comm ent Statement.Key are tgnotedl. by Compler and have
no effect on the site or
speed of the inal Program.
A Comment Can be placed anywhere accept in site a

Variable name, a constant or
Keywords
Comment are helbful in identifying the program's
Princb4le leatures or 2n ezplaining the underlining logic of
var2ouS program features.

e
*Mohan kumar
Braces
Theopenimg braces after main () indicates the
beginning of
he block of stotement and closing braces indicates endinq
t h e statement.

Semi colon

Each exprescion Statements must end with a semi colon.

Written for

Institution
Course

Document information

Uploaded on
March 29, 2022
Number of pages
19
Written in
2017/2018
Type
Class notes
Professor(s)
Nil
Contains
Engineering 1st year

Subjects

$7.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
meenarvianupam11

Get to know the seller

Seller avatar
meenarvianupam11 VISVESVARAYA TECHNOLOGICAL UNIVERSITY
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
4 year
Number of followers
1
Documents
31
Last sold
4 year ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions