skip to main
|
skip to sidebar
mytech
Tuesday, August 11, 2009
c-tips
#include
#include
int main () {
char *ptr = "1234";
printf("%c \n", *(ptr++));
char *p2 = "12345";
printf("%c\n", *(p2++));
printf("%s\n", p2);
char *p3 = "1234";
printf("%c\n", *p3++);
printf("%s\n", p3);
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
About Me
georgegeorge
View my complete profile
No comments:
Post a Comment