Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

pointer cpp

type *ptr;   // Declare a pointer variable called ptr as a pointer of type
// or
type* ptr;
// or
type * ptr;  // I shall adopt this convention
Source by www3.ntu.edu.sg #
 
PREVIOUS NEXT
Tagged: #pointer #cpp
ADD COMMENT
Topic
Name
3+6 =