Arry Pointer With C++

  • Uploaded by: hamid
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Arry Pointer With C++ as PDF for free.

More details

  • Words: 1,408
  • Pages: 10
! " # $% "&- .

&'( ) )* %+ ,*

0 45$ "% 23 0 $ 1(% ) /% 6789:

2; %

< &2# " =+ > 2?

@ ( &/ ) #(

DEFDGGHFIBC < * A "&# DEFDGGHFIFD J K%& 797

L BIDM J

(

P $: 0 45$ )A . )3 S " %

*

% #-+

0% O ) A.

!

Q%

&'( %A

P $ ) N " )* %+ ,* ) <* #R

* %A

<$ % )* %+ 6J+ J % 0 45$ T&2A < % )* %+ J %

A UV

W*&X* ) )3 $


"&-

.


% YZ ! " ; P $ S " ; \% +

; )* %+ * [ (

; ) % " % 0 45$ ] - # - % T&2A < ^ _

GkG `abc

jozh `ebcb

defbc gfhLiebc

`epyh

lffm

GkB

lffmqBr dofs G co l

jhkcLiebc noepchf

gfhLiebc lffm GkF

jhkcLiebc noepchf

gfhLiebc lffm GkI

lffmqIr dofs G co 8

jhkcLiebc noepchf

gfhLiebc lffm Gkx

lffmqFr dofs G co t

jhkcLiebc noepchf

GkG

B

lffmqur dofs G co vwv

{ep|i}zh~eobcfhasT•€ % . ; ; \5A Y* '( U‹ )X2* U ) ; \5A &4 Œ Y* '( " @Q ) &2A < )? •Q % Z* Ž A . &R- Y* '( ) - % 2; )A < 5A T. % UX/ ) J+ . 3 )A &/ ) 3 S % X

<

* /

iepyhf• iebc• affm• )

S %/

-

<* ;



Y* '( "

affmLnoepchf iebcLnoepchf " ; Y* '( T affm iebc \5A - &/ & ( " * " ; •

iebc‚ iebcLnoepchf• affm‚ affmLnoepchf• ƒƒ„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„ .

% #$ !" [ ] U & \5A J 24 ) % \5A J+ \5A *
&$ '()* \% + 2‘ ; "&'
be†hLo‡Laffm• iebc6affmLnoepchf afmN be†h:• b•oˆLiepy6:• bhcLnfh 6iebcLnoepchf nfh:…nfhLiebc‰nfh•Š bhcLpkc 6iebcLnoepchf pkc:…phkcLiebc‰pkc•Š

F

iebcLnoepchf fhcfpLphkcLncf6:… affmLnoepchf fhcfpLafmLncf6:… Š• iebc iebc6affmLnoepchf afmN be†h: … be†hLo‡Laffm‰be†h• affmLncf‰afm• phkcLiebc‰G• nfhLiebc‰G• Š

phkcLiebc•Š affmLncf•Š

)A " % saep “ ( J&/ ) Q [ W2; \5A * .3 *% % )* %+ J+ P $ &/ ,* " * )* %+ \% + <X* % 0% O ) % Q \5A •4 " ; • A T&; < ) % &”

iebc b•oˆLiepy6: … |o}c~~’ phkc6’~~phkcLiebc~~’: ’• |o}c~~’ nfh6’~~nfhLiebc~~’: ’• |o}c~~’ affmh6’~~affmLncf~~’: ’• Š ƒƒ„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„ +

&/ ,* " * .

S

) )A ‡efbc " ; [ - iebc \5A S %/ T &2A < % / &/ ,* " * .

&$ !" • U / \5A * S * Q+ ) )A iebc

iepyhf… iebcLnoepchf iabcN‡efbc• iepyhf6:• bhcLiabc6iebcLnoepchf ibc:…iabc‰ibc•Š iebcLnoepchf fhcfpLiabc6:… iabc•Š bhcL‡efbc6iebcLnoepchf ‡fbc:…‡efbc‰‡fbc•Š iebcLnoepchf fhcfpL‡efbc6:… ‡efbc•Š Š• iepyhf iepyhf6: … ‡efbc ‰iabc ‰G• Š ƒƒ„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„

I

"

\5A *

saep “ ( % )A N &2A < Y* '( % < T /<

Q % )* %+ & ! % P $

&$ !" ™* \5A * * )* %+ Y* '(

affm… e• affm6:…e‰G•Š bhcLp}s6 hpch:…e‰hpch•Š b•oˆLp}s6:• Š• affm b•oˆLp}s6: … |o}c~~’’~~e~~’ ’• Š ƒƒ„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„ iepyhf‚ iepyhfLnoepchf•

" ; • Y* '( %

"

iepyhfLnoepchf T iepyhf \5A -

Y* '( S %/

ƒƒ„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„„ saep 6: … ih•hiNe‰GN–‰GNhpchfNbe†h‰G• affmLnoepchf ncf• iebcLnoepchf |}fhpc‰G• iepyhfLnoepchf iepy‰G• |o}c~~’nihbh epchf p}s—hf o‡ affm mo} ˆapc |fhac ‡of mo} ’• |ep€€ih•hi• iepy‰ , iepyhf6:• % ‡efbc

iabc * ” )A &/ ,* iepyhf \5A

iepy [ - ) iepyhf \5A J+ &'( ) "&' ‡of )”Z %

-

- <˜/ ™* * 0% O ) %

" S % / " • J % % <˜/ * \% + T &2A < ) 3 S % š- %

)* %+ &'( J+ U1= T&2A <

`abc

* " ?

defbc

`epyh

H

% ,*

%

&'

O % &”

2‘ ; T &; < % = ! " ; P $ ) * )* %+

6e‰B•e~‰ih•hi•e››: … |o}c~~’œpnihabh hpchf c•h be†h o‡ affm 6’~~e~~’: ’• |ep€€be†h• ncf‰ , affmqbe†hr• <

,* * % $ ) be†h

! P $ T

`abc

&- ) )* %+ 0% O ) affm \5A

S < % = affm S % /

-

-

<˜/ ™* %

*

&'

ncf [ - ) " S % / • % J+ \% +

/

defbc

lffmq r dofs ¡ co l

`epyh

|o}c~~’joˆ |fhac affm be†h o‡ q’~~be†h~~’r nihabh epbhfc c•h p}s—hfb mo} ˆapc hpcfep• ep c•ebTTT’• 6–‰G•–~be†h•–››: … |o}c~~’p}s—hf o‡ affm q’~~e~~’rq’~~6–›B:~~’r ‰ ’• |ep€€hpchf• 6ncf›–:ž€bhcLp}s6hpchf:• Š T&; < % = )* %+ J %

) 3 S Ÿ ‹O &4 " %

)*%+ P $

&- ) )”Z

* %

|}fhpc‰ , iebc6ncfNbe†h:• &-

6ncf: )* %+

/ \% + )A &/ ,* * 0% O ) iebc \5A

phkcLiebc nfhLiebc " ; • &/ ) S )A % •- ; )A & T&;& % = be† % &”

% be†hLo‡Laffm

ncf% &”

-

<˜/ ™* %

3 < iebc \5A &% affmLnoepchf % &”

)

*

-+ 6be†h: P $ GkG \% +

¡k¡

`abc

defbc

gfhLiebc lffm ¡k

`epyh

jhkcLiebc noepchf

C

&'

lffmq r dofs ¡ co l

6iepyž€fhcfpLiabc6:‰‰G: … iepyž€bhcL‡efbc6|}fhpc:• iepyž€bhcLiabc6|}fhpc:• e››• |o}c~~’œpnihabh hpchf c•h be†h o‡ affm 6’~~e~~’: ’• |ep€€be†h• ncf‰ , affmqbe†hr• ‡efbc * ” &2X ,*

!

% / GkG \% + ) iepy <˜/ iabc . = S )A &- ) W* * )* %+ ™* £Ž T&/ .

S

T &; < % = )* %+ * J % % " % Ÿ ‹O &4 ] - )

/ < ™_ ¢ / ™* )Z

* %

/ )A &; % = < % + % T &; < % = ncf J %

-+ iabc -+ \% +

¡k¡

`abc

defbc

gfhLiebc lffm ¡k

lffmq r dofs ¡ co l

jhkcLiebc noepchf

`epyh

lffmq¤r dofs ¡ co t

|o}c~~’joˆ |fhac affm be†h o‡ q’~~be†h~~’r nihabh epbhfc p}s—hfb mo} ˆapc hpcfep• ep c•ebTTT’• 6–‰G•–~be†h•–››: … |o}c~~’p}s—hf o‡ affm q’~~e~~’rq’~~6–›B:~~’r ‰ ’• |ep€€hpchf• 6ncf›–:ž€bhcLp}s6hpchf:• Š |}fhpc‰ , iebc6ncfNbe†h:• Š

E

c•h

|}fhpcž€bhcLnfh6iepyž€fhcfpLiabc6::• iepyž€fhcfpLiabc6:ž€bhcLpkc6|}fhpc:• iepyž€bhcLiabc6|}fhpc:• Š ) )A " * ” )Z * % )A &/ ,* * 0% O ) . % £Ž T / < U 4 U1= P % ¦1$ )A . “ ( ¦* $

)A

% / J+ ) )A

/ < "% &”

<˜/ ™* ¥ &, )* %+ <; % &”

)* %+ P $ ) 3 * § V Q \% + ¨

&/ ,* .

/ <
(

/<

S * Q+ % nfhLiebc % &” &

S \% +

/<

&-

S

&'

3 J+ &Q+ %

)

iepyhf \5A fhcfpLiabc6: •4 T X

“ (


§ V Q \% +

S J ; <2'* % % phkcLiebc

% / J+ ) iepyž€fhcfpLiabc6:)A <* ? J+

• % &”

%

/ < P % |}ffhpc % &” J+ ) )A bhcLpkc6: •4 T&; < % = |}ffhpc % &” J ; * &*&? .

bhcLiabc6: •4 “ (

&' %

S) )3*

`epyhf \5A J % iabc • \% + % &” ] - ; % T

* Q+ %

S < % = |}ffhpc % &”

¡k¡

`abc

defbc

gfhLiebc lffm ¡k

lffmq r dofs ¡ co l

jhkcLiebc noepchf

`epyh

gfhLiebc lffm ¡k¤

jhkcLiebc noepchf

¡k¡

M

lffmq¤r dofs ¡ co t

e‰G• … |o}c~~’œpœp‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚‚œp9•h mof iepyhz —hcˆep iebcb eb œpœp’• |o}c~~’9•eb azzfhbb ~’~~6iepyž€fhcfpL‡efbc6::~~’€ ’• 6iepyž€fhcfpL‡efbc6::ž€b•oˆLiepy6:• |o}c~~’œpœp9•h be†h o‡ c•eb affm ebq’~~6iepyž€fhcfpL‡efbc6::ž€be†hLo‡Laffm~~’r’• |o}c~~’œp9•h p}s—hf hpchfz ep c•eb eb œp’• 6–‰G•–~6iepyž€fhcfpL‡efbc6::ž€be†hLo‡Laffm•–››: … |o}c~~6–›B:~~’:‰’• 6iepyž€fhcfpL‡efbc6:ž€fhcfpLafmLncf6:›–:ž€b•oˆLp}s6:• Š iepyž€bhcL‡efbc6iepyž€fhcfpL‡efbc6:ž€fhcfpLphkcLncf6::• e››• Š ,- 6e©‰ih•hi:• G• Š " ‹

A .A

;.

S" %

T &2A < ^ _
&+ "

? ) )3 $

"&-

.

% &2A < % / #-+ ) )A <* ; \% +

D

; J* % 2‘ ;

; )* %+

ª

Related Documents


More Documents from ""

Panj Porsesh
May 2020 16
May 2020 30
May 2020 15
May 2020 22
May 2020 22