Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

string in c

1. char str[] = "GeeksforGeeks";

2. char str[50] = "GeeksforGeeks";

3. char str[] = {'G','e','e','k','s','f','o','r','G','e','e','k','s',''};

4. char str[14] = {'G','e','e','k','s','f','o','r','G','e','e','k','s',''};
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #string
ADD COMMENT
Topic
Name
4+3 =