05장_포인터와 함수의 매개변수 전달

Cpp 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 설정하기 IT COOKBOOK [예제 5-5] 5_5.cpp 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 #include<iostream> using namespace std; void main( ) { int a=10, b=20; int *p=&a; cout<<" a => "<< a <<" b => "<< b <<"\n"; cout<<" *p=> "<< *p <<"\n"; b=*p; cout<<" a => "<< a <<" b => "<< b <<"\n"; cout<<" *p=> "<< *p <<"\n"; *p=30; cout<<" a => "<< a <<"...
View Full Document

This document was uploaded on 01/19/2014.

Ask a homework question - tutors are online