Pointer II POINTER AND ARRAY POINTER AND STRUCTURE

Download Pointer II POINTER AND ARRAY POINTER AND STRUCTURE

Post on 18-Jan-2016

226 views

Category:

Documents

6 download

Embed Size (px)

TRANSCRIPT

Slide 1

Pointer II POINTER AND ARRAYPOINTER AND STRUCTUREName of the array is a pointer pointing to wrote the first element of the array.In array attributes using the array name or pointerint nom[5] = {10, 20, 30, 40, 50};nom [0] will get value 10int *tunjuknom = nom;*nom mean value of 10 will be referred to POINTER AND ARRAY POINTER AND ARRAY// reference value with the pointer or array name#include void main(){int a, tata[5]={10,20,30,40,50};int *tunjuktata;tunjuktata=tata;cout

Recommended

View more >