Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c iterate string

int i = 0;
char str[] = "Hello World!";
    while(str[i] != '')
    {
        printf("%c", str[i]) ;
        ++i;
    }
 
PREVIOUS NEXT
Tagged: #iterate #string
ADD COMMENT
Topic
Name
5+5 =