// A revision exercise to cover basic strings // Lecture Week 10 Monday #define MAX 128 #include #include #include // Consider the variables s0, s1 // What is their size in bytes? // What are they storing right now? // What is their strlen? int main (int argc, char *argv[]){ char s0[] = "abcd"; char s1[MAX]; printf("s0 strlen: %ld string: %s\n", strlen(s0), s0); printf("s1 strlen: %ld string: %s\n", strlen(s1), s1); return 0; }