Thread: Why can't I print the 1st charachter of an array?
i want print first carachter of array. folowing code results in segmetation fault....
also, in order create string, can this:code:#include <stdio.h> main() { char s[] = "george sss"; printf("%s",s[1]); }?code:char string;
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Why can't I print the 1st charachter of an array?
Ubuntu

Comments
Post a Comment