Dev-MicroSoft
Development for Microsoft platform, Start Here!
Sunday, January 29, 2012
Size of String, char array
If you declare char array with pre-defined size, the size is number of char plus Termination Charcter, /0. So, in the fllowing case:
char CharArray[10];
The maxmum number of char can be stored in CharArray is 9.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment