Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

character string declaration example in c

char country[11] = {'B', 'a', 'n', 'g', 'l', 'a', 'd', 'e', 's', 'h', ''};    
 char country[] = {'B', 'a', 'n', 'g', 'l', 'a', 'd', 'e', 's', 'h', ''};    
 char country[] = "Bangladesh";    
 char *country = "Bangladesh";
Source by cpbook.subeen.com #
 
PREVIOUS NEXT
Tagged: #character #string #declaration
ADD COMMENT
Topic
Name
3+9 =