You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- // Copied and fixed the code from the slides
-
- #include <stdio.h>
-
- int main() {
- char *s;
- char foo[] = "Hello World";
- s = foo;
- printf("s is %s\n", s);
- printf("s[0] is %c\n", s[0]);
- return (0);
- }
|