Skip to main content
Open navigation menu
Close suggestions
Search
Search
en
Change Language, English
Upload
Sign in
Sign in
0 ratings
0% found this document useful (0 votes)
19 views
18 pages
OOSD Unit-4 Notes
Oosd unit 4 notes
Uploaded by
harshharshgopal
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save OOSD Unit-4 Notes For Later
Share
0%
0% found this document useful, Mark this document as useful
0%
0% found this document not useful, Mark this document as not useful
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
19 views
18 pages
OOSD Unit-4 Notes
Oosd unit 4 notes
Uploaded by
harshharshgopal
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Go to previous items
Download
Save
Save OOSD Unit-4 Notes For Later
Share
0%
0% found this document useful, Mark this document as useful
0%
0% found this document not useful, Mark this document as not useful
Print
Embed
Report
Go to next items
Download
Save OOSD Unit-4 Notes For Later
Share
More options
Fullscreen
VY) Beamer kon Nie Secs Gansta, OF ae descrip of gee teem oh he Renee (eee 4 Pacacars / Craearion jake ond Bre of Yeo progres - XK Me Akard of Me os oe ese apectied o of Comment - as t- nome I} [ Sercsipton , ok Meo program, Preqiammes A , dake , dime eke. ho 2) Pre processor Secon esder Kier of dee progren eworith be Aw we declored iW we Aa pa OC eSSOD geclno~ of We pro ror Header Pier \necdp ur Ne meeect. o%% inn proved Code iwko or Code +h include H Mrcluda Crewe: h>3. be&urkon Rreprocessorn are Me regres Mak process our Aovace Cohe Woeforie se process of Compilalion iwucbved Kn Tere cre malWiphe ale pa Which arc Ye wrriltq and erxcecudion of sre progqiom. Preprocessor direckwer shoN cite dhe ‘ke’ Ayabel. The # dettne preprocessor ts ured to crcahe o Connors amrouaron’ we anes | # deSne _ Song 8 4. Choloal Becharaon We adoload dechoraton Vetelober , Sanckion decLarodion , ond AnNc Vvarobles Verobles ank Rinckoms WWdh ove declacd Ww ais Scope Can be used onytdoere Wh kre progenm- inh nem = 18; Bete Coteie aisha) S. mon O) Foncddior Every C programs musk eve A mat Function. The rain 6) Runckven of the (aor ts corttken th opercdios Luke decharaktar and perkoramed side Khe oH lnaces Te selvon hype 58 whe wis Aecion - execution ane of see Woke main OF fencton Con be teh om woclk ay woth tno hes dhe Comper Yrok she program valve. The dik wath Oy Selis GAM nedvan an OF LOW . YAO maren Lat nok dehvan ony me Con pier Brak dre prograre We ene Velie - Voi mois CY6 Sur treqners User LaQmed Ranchos one Colled te Wis Beco, of are Program LRe Coukach of we prsgren \s Aked bo Re Ged Sivckion Chenever Whey ore Catted Lrom tne ovkside Me moincy Lawclton - These ore remds of Mee [rogue es - WS Go Gk | 4D 5 ae ApecRed an per we Key prrain| — peluan *K*Y!} 5 Nowe apace A nameangace Wa dAcchealve Aegion Mok pacvidies a AcoRpe ko We Taer Ger (me namer of wyper , Sanedvens , vatobles , eke ) Wstke LA. Nome dpacer axe Used +o ongetze Core wr Senge’ Qneupa and he preven veme Coliatons Mak Con occur especiolly | when yeu (ose Gane Wiel Soe maddiede ian ee TirewGer oe ee used Xo env hy lo wanckde , Sevres, CST I me duke on ony ome user dSeGued Wer Pe tdeninten Akooks pas Nee Fe 2 oe ee oidettcane — Lonorsed lay Zere on wrone Jelrerr ) LrderStorer , ond dsanks Lowe A). Cx® does wok adle ro punckiction Ororacker Auch ar @ , &, ork polwin Verrier. Crt is aw Gre Aen AVRVe progremening, SanguegeVawiabrer Neotothes oie Coveiud’ Sn Abeutta dike Te Cae, Mere are AiCkerenk q Valued Kren of Varioblea CadeRnedi wrth dd KKerenk Meso ads, > , Soo example — irr Stoner Wiheserr Culole numba) ~y Acoulle hora fhoaNng, ford number nud on 1a? = char Shores Favabe droracker , Auch ar a’ oy VQ) . horn Labora ore AUdomded by Penghe A ay aehos . oe oi Nese 10d oe fF ello ON Sy oan Valber are AVrLOLUWded toy doukle qyrokes <3 hemk Glens Solus tol Sere Aboden + ee oe Tce. Conshowss _ Consteards refer to fixed valves Mab She freqiany mony moh ofkexn and axe GiilcA JiXercks | Comsbords con be of ony of Ine boric date hyper and Ge be Mvided any Ynhkeger Komeals , floak.s Pow nowket , charachers , dhainga ad boolean Sales. 3 Clica+ pregron we Gn Ae&ne Gustants Wn Ynwo wou or Roun below ) veua H Jekine Preprocessor ieckve 2) vsivg a Gus Kertoord Wkeocdda i the valuer asstaned bo eady Gorntent verbs. woupier one referred to os aveGa caine: [oetaecesi direckve i- Wie Maeckve WW Lsed to declare an alias Kame for erdctteg Vortob\e oA uel valce . dt Xe Rue Wend MeName valve WerkRewame i TA is de heme given Neo Covnstrouk value t= nis seller bo ony Gales actus Ye (dacnce. oa a Couns keynord Lo Vasobher, 2) Usua a Const kev work = Usi Lele Conrdends is as Menge om definig wre MMtesence repacrentelion fs = G@esk WAN vay XK Conk Ink vars Nox) ; Const (nk Vax = S) Bekeu progam Ares home te VSP Gonsk te dedase Eo 8 Se a He icchome
3 Less ston Nod pak to qpecke nee less Sor = gee os oe Loge ad operedooe. ) begica Ants Aa 2) leycad of AN 3) Logical NOT}Rilmwise operators Awd A 5S brary oy Binary oR \ ay Buary moR A 4) Leth swHX <4 s) ork slafh >> $) one’s Comphemens n Assignees’ ope ako y Assignmens operator = 2) ALK and Assignee operedox + = 3B) gubhanck and assignees openers = 4) murs phy ond asstanme operon % = s) Bute ad ossiqurneS eyendon [= Terman, ond Condddionad opercko > Expression b 2 Expression 2 + Ex pressrond ese ae ores Ste Somer operakors avod\able Ln. Cex Weather Se. ooue mentvened operckoos 1) Sreo Operchor 2) Comma operebor 2) o pena + used ko aceesy Me Nartabbern of classed ox Atnucho red: 4) caxx opereko> 3 vsed Xo Cowwerr® one doka Yee wre anole + » JD vsed Xo accesser member of Vawroadler or class objects An S) Dok ope rode Sauchore C++ 6) A opercdor a Used Xo seprcrent Me merrom| WD % operator 9 Trdirechror operokon AdDACRE +Wyre Seis, Tare Caring Ig Mra Process of Conve aype Ae ansiner dake Ayre by ee p one dolan Ko rmnr ed OSes we Corkiv _ epesotos do —\ Prograr design. WN x Soo 4; Ye QroadS x; Tee byes of Lyte Gea GC ) aphkak tee Cars TA As Used Av Grek dhe Lola Ayre of al euiokNe GaWouk Gsm He Gov. Gol Gee de Vadoble Kady TA pefoama Me Comeaend WMmord ake rt any of are Valuer lich oe Skwred GW Me Aorta Variable. Conversion of Looe dokn Ape Se Weer don Ayre WAN occen ouskomadienlty, Lory Double Bouk\e * Sook emsigqned en eS Leng Long Lesiqned a A 7 onsrqned wk 1 Anwk2) Expbbad “Wpe Cary wwe dora ype ye incorreck oulpur. hnedp Yo qes We Caney wwere ned , Cr Ware ae ane Beran conchae Ta Auch Carer, Ayre canna Ce kpuk ond reduce dha Tr exqghad ape Carding, pwe hore to Loree te Conversion belivect. dela hyper - Go» a is | des Ga. Suc prcgannn- Coreck ee ok Gas, \ Was Lee of iat econ On mre Condivg YY Type cane ih C aa mokers Me ea Ney Bays weiges 2) Tyre ne prererdodi on ond WersrchiesS are Aome Learner Gee Gr tke advondage of aide ane Were of *yre Coding | ) Tyre Gary helps Proqaarrres to Convek one Sars Nee ho an omer dodo Aye - Corkood Shanchonen _ vo Ape Comsnck Axeeckvses we ess oy © Brow of Contaoh in proqaam. Go~ be ere clean oS ecdensinod AOL Condeined modes Called os DN ey Ones a pons Cottey analyzes mw colich LineeMor A progtar flows . Thee On Rn ee So use Jegic on Cork cheese’ and Cede Poramcheats od Conddikiors bared on one wee Seon Lares of Jogic , on flow of Colts 1) Seqpence dogie dB) Selection doyve er Cords Horak B) Thesadion Legic orn rcpeditve fiow on Sequentsad a ewsTitine FanckkionS Tabine Sumcktion is a Simeon wnak ts expanded Ww Mee when Wits Called . when Me j fumckion is Called whole Gade of ane fuaneon ges wWserted orn AvbAW ved ad Ye Poink of wWdine Linckon Cal. Synkex Ae inkine sedvon oye Ramedss i UY Siancion Coda t On—name ( parcamehers) UW is also Giled Prepac cessor Aoeckwe . Te macace are SeGred by whe H defne Keqerord . Before We Parca rare Compilodon , Me Preprocessor Examines the oe dhenever Me Preprocessor dAckecds me macros her Prefroceston Jeflaces Me Macao by the macro dcknitin. te dehre MACROL NAME Macao — def, DiCfererce belween en Mre ard macros QW Crt Taine Macro ) AK wdine Kanckvon is tN) whesean Me Macros deGued by we Wne ore AecBured by ee Menus ord: +H dene Kerevord : BD Thoouak Whine fanckas 2) Evesear macars Ye choes dokn membas Gik access Mme chasis Ca. be accessed. Ack merbor.BV om. Me Gave of Wine Jandton , See pregeten @n be coy debugned. 4) In me care of Wine, MWe agquments are evaluaked ony omce . SY Toca, inbwre wey be Aelv ck etme. Gets te class on ovtside ane class. dwst&e Mee class, wn Lancto Os coe : Me Aboot 1 ore audtowradicall iWhne funckions 7 wate i Hoh ay Grdeduy LSEH OS Macros. 8) wade is wed veed in Compe SANE Progsarenting a) sAdane Suanckiom is femwvedred fey tre ay ak we end. lonace of wmacne mode ne 3) ek GX be therear Wm She Gia 7 he eam Macros [roqaan { Pebeaned 4) whereas th whe Ye Cone, monks o Mme evaluated eve dime whenever macro WW Me Prcgqnan, WS Used S) Gheenrs Wo nacre Ws oa te Me dehred ak Me Sse, of We Ulam 6) while Me macros ‘s mpe dRealby defrea, FA whbide dhe macro ts Cidade used. 8) while Me macre is oi muck vsed Cornpe ve pro Toe Ww Q) edie Me mace is Kot hermineked boy ol Arynbol pik os demninededt by a Keo Sve:Bales Amoeiends A aAeXaw\ argumen’ is a Nabse provided ia | Ancien Xecdoradtar Sra is andomadicalty | assigned by dhe Compiler (2 me cating Sunchton Acer wok Provide a Vale fon We etn fy Gace any Nolue is passed, Me defatk value AS overridden . Il cre Proguan te Aeronabante beled Agquments He ivclude Ciosuream > oa Mamespace Sd; lla Roe Ge ER anguments Wie Gx be Ged GOR : I 2 arqamerdts 22 3 agamrerds on HW aqumente RA SR C&A *, WHY, WE 2-20, WH We O > Hassiguiy dehary 1 perusn Cxe Qe wy; 4 I drew Code (Ad moin O) aikeuks i MU Qwrxemenrk 4 ce Cark << gumnio, (8) co endl} se U xrodemen® 2 Cor << Sn Clo, 16, 2S) Ze end VY W Sodxemend 3 Coss << som Clo ,18, 28,30 ) usime wesaspace Sik) Closs box L Acdble Wid} Pobhic s Friend Void prAtRrurdee Cox ’oxd; wotd Sehwsdkh Cdoble wid 3; 1; ' I monrbe~ Sanckim defarher Void Box Ve gekuwidan C dockle Wid fF GSaAMw = ida; : Mf woke + RAmAa OO is mck a wentes Spneton of fr classVORA paeverase C@ex box df tend of Rox, it ‘ber of is clan »/ § fe Because painiveidte O fe on 1 Ge Abaca, aceers \ i: . be Covx Ze "cusdan of Box "ce bom Width
bosv Namespace AVA 7 oo tere | tUblee 4 Vinsead Volk Y Cox CSC Q tries cy “eo sok Vows oe Verda Arow 65 5 Covx 22" eho bare on 7 4 a sk bare } Poblic + od te cs § Cok Zo "pained Seawed claw Sc Meta Rew O t Cox 2c * Ahow Qos ee {Res wate © u boxe * Lpr> 5 Sa ciek Oc) lopxx = A oS [Ph Gyrrrod Siewedtan , winded ee Lbpks > pares 63) ieneIh wow Vintwok & » " H 9 praak Svalton / binded al Conpile Lp - > ae ©, nwnelwan OF Oe’ Prd Acatved claw Qheuw- bare c\erS
You might also like
C Language PDF
PDF
No ratings yet
C Language PDF
115 pages
C Language Notes Chapter1
PDF
No ratings yet
C Language Notes Chapter1
25 pages
C Unit 1
PDF
No ratings yet
C Unit 1
56 pages
Unit 1
PDF
No ratings yet
Unit 1
59 pages
C++ Programming Notes
PDF
No ratings yet
C++ Programming Notes
17 pages
C Programming Language
PDF
No ratings yet
C Programming Language
55 pages
PCPF ?
PDF
No ratings yet
PCPF ?
35 pages
Programming Keys
PDF
No ratings yet
Programming Keys
20 pages
CPP Notes
PDF
No ratings yet
CPP Notes
29 pages
C Programming Unit 1 BCA 1 SEM
PDF
No ratings yet
C Programming Unit 1 BCA 1 SEM
23 pages
C Program: Fibonacci, Factorial, Leap Year
PDF
No ratings yet
C Program: Fibonacci, Factorial, Leap Year
24 pages
C Programming Note C+
PDF
No ratings yet
C Programming Note C+
38 pages
C Programming
PDF
No ratings yet
C Programming
42 pages
LPCC
PDF
No ratings yet
LPCC
23 pages
C Programming Unit 2 BCA 1 SEM
PDF
No ratings yet
C Programming Unit 2 BCA 1 SEM
19 pages
IDS Unit 4
PDF
No ratings yet
IDS Unit 4
31 pages
PPL Unit 5-1
PDF
No ratings yet
PPL Unit 5-1
33 pages
Assignment 1 PDF
PDF
No ratings yet
Assignment 1 PDF
9 pages
PPS ch1
PDF
No ratings yet
PPS ch1
56 pages
Important Electronic Note
PDF
No ratings yet
Important Electronic Note
12 pages
Compiler End Sem
PDF
No ratings yet
Compiler End Sem
8 pages
C Programming Structure and Syntax
PDF
No ratings yet
C Programming Structure and Syntax
20 pages
C Programming Concepts and Syntax
PDF
No ratings yet
C Programming Concepts and Syntax
25 pages
FPL QB Solutions
PDF
No ratings yet
FPL QB Solutions
13 pages
CP CIE-1 IMP QUESTIONS (With Answers) - 1
PDF
No ratings yet
CP CIE-1 IMP QUESTIONS (With Answers) - 1
46 pages
Mod 5 Notes
PDF
No ratings yet
Mod 5 Notes
26 pages
BPOPS203 Question Paper Solution 2023-24
PDF
No ratings yet
BPOPS203 Question Paper Solution 2023-24
45 pages
Oops Notes Unit 1
PDF
No ratings yet
Oops Notes Unit 1
22 pages
Compiler Design
PDF
No ratings yet
Compiler Design
155 pages
CD Unit 1-1
PDF
No ratings yet
CD Unit 1-1
23 pages
C Unit 2
PDF
No ratings yet
C Unit 2
64 pages
PPS Notes Upto Module 2
PDF
No ratings yet
PPS Notes Upto Module 2
31 pages
CTP Unit - 1
PDF
No ratings yet
CTP Unit - 1
18 pages
Module1-Introduction To C
PDF
75% (4)
Module1-Introduction To C
75 pages
Module 3 Short Notes
PDF
No ratings yet
Module 3 Short Notes
10 pages
Python Notes-1 Handwritten
PDF
No ratings yet
Python Notes-1 Handwritten
19 pages
Leave Assignment
PDF
No ratings yet
Leave Assignment
13 pages
C Programming-1
PDF
No ratings yet
C Programming-1
15 pages
New C BALU
PDF
No ratings yet
New C BALU
214 pages
Saksham 93
PDF
No ratings yet
Saksham 93
12 pages
CP - Lec.Theory&Codes - PoojaM.HwNotes.@rising Lamp
PDF
No ratings yet
CP - Lec.Theory&Codes - PoojaM.HwNotes.@rising Lamp
77 pages
C++ Function Templates and Exceptions
PDF
No ratings yet
C++ Function Templates and Exceptions
20 pages
CPPS Assignment 1
PDF
No ratings yet
CPPS Assignment 1
6 pages
Programming Language Translation Methods
PDF
No ratings yet
Programming Language Translation Methods
12 pages
PPL 2mrks
PDF
No ratings yet
PPL 2mrks
23 pages
CS3501 Unit 3,5
PDF
No ratings yet
CS3501 Unit 3,5
37 pages
Introduction to C Programming Basics
PDF
No ratings yet
Introduction to C Programming Basics
25 pages
C Program.
PDF
No ratings yet
C Program.
21 pages
MCS-201 Cheatsheet Created Using GPAI
PDF
No ratings yet
MCS-201 Cheatsheet Created Using GPAI
5 pages
OOPS Assignment 2
PDF
No ratings yet
OOPS Assignment 2
11 pages
APP Unit 1 Notes
PDF
No ratings yet
APP Unit 1 Notes
34 pages
Pyton Notes 2
PDF
No ratings yet
Pyton Notes 2
29 pages
Object Oriented Programming in C++
PDF
No ratings yet
Object Oriented Programming in C++
28 pages
C Programming Language Overview
PDF
No ratings yet
C Programming Language Overview
7 pages
Tranlsation Software
PDF
No ratings yet
Tranlsation Software
15 pages
Python Imp Questions
PDF
No ratings yet
Python Imp Questions
6 pages
Compiler Phases and Functions Explained
PDF
No ratings yet
Compiler Phases and Functions Explained
20 pages