Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
10Activity
0 of .
Results for:
No results containing your search query
P. 1
Introduction to C

Introduction to C

Ratings: (0)|Views: 159|Likes:
Published by rajeshkripal3945

More info:

Published by: rajeshkripal3945 on Oct 01, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

03/16/2011

pdf

text

original

 
1. The History of C1. The History of C
BPCL1967B1970Traditional C1972Martin Richards. No typesKen ThompsonDennis RitchieSome TypesALGOL1960International GroupK & RC1978Kernighan and RitchieANSI C1989ANSI Commitee
* The root of all modern Language is ALGOL
ANSI – American National Standards InstituteISO - International standard OrganisationBCPL- Basic combined Programming Language
 
2Programming In C
2. 1st C Program2. 1st C Program(hello.c)(hello.c)
/* my first program *//* my first program */#include <stdio.h>#include <stdio.h>int main()int main(){{printf("Hello World\n");printf("Hello World\n");return 0;return 0;}}
 
3
Stage 1:Stage 1:
PreprocessingPreprocessing
Performed by a program called thePerformed by a program called the
preprocessorpreprocessor
 
Modifies the source code (in RAM) according toModifies the source code (in RAM) according to
preprocessor directives (preprocessor commandspreprocessor directives (preprocessor commands
))embedded in the source codeembedded in the source code
Strips comments and white space from the codeStrips comments and white space from the code
 The source code as stored on disk is The source code as stored on disk isnotnotmodified.modified.
3.1. Compilation in3.1. Compilation in33 StagesStages
continued 

Activity (10)

You've already reviewed this. Edit your review.
1 hundred reads
Khatibs liked this
hmurcia liked this
romkantjee liked this
yuvraj liked this
REHMAN MALIK liked this
orafla12 liked this
Naila Mem liked this
taraki_me liked this
prakhar39 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->