...

/

Quiz on Strings

Quiz on Strings

Test yourself on the concepts of strings learned in this chapter.

We'll cover the following...
1

What value will be printed as the size of s?

int main(void) {
  char s[] = "table";
  printf("s is %ld elements long\n", sizeof(s));
  return 0;
}
A)

5

B)

7

C)

6

Question 1 of 30 attempted