Arrays, parameter passing, pointers and dynamic allocation. - ELIS
Arrays, parameter passing, pointers and dynamic allocation. - ELIS
Arrays, parameter passing, pointers and dynamic allocation. - ELIS
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
S char string1[] = “hello”;<br />
Character <strong>Arrays</strong><br />
S What size is the above array? 6<br />
S Char arrays are terminated with null character!<br />
S char string1[] = {‘h’, ‘e’, ‘l’, ‘l’, ‘o’, ‘\0’};<br />
39