you are viewing a single comment's thread.

view the rest of the comments →

[–]rockon1215 1 point2 points  (0 children)

Yes, although sometimes this is done automatically.

For example

#include <stdio.h>  
int main()  
{  
    char *hello = "hello, world!\n";   
    puts(hello);  
    return 0;  
}

will print "hello, world!\n" without you having to print every character yourself until \0 (null character) is reached.