Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

1And in Conclusion\dots

2Textbook Reading

K&R: Chapters 5-6

3Additional References

4Exercises

Check your knowledge!

4.1Conceptual Review

  1. True/False: The correct way of declaring a character array is char[] array.

  1. True/False: C is a pass-by-value language.

  1. What is a pointer? What does it have in common with an array variable?

  1. If you try to dereference a variable that is not a pointer, what will happen? What about when you free one?

Footnotes
  1. The biggest difference between arrays and pointers comes down to where they are located in memory; this difference leads to the many details you saw in this chapter. See the next chapter for an overarching framework of memory layout that will help you understand the distinction.