Introduction

Our goal is to validate the memory drawing we created before by writing code and checking the memory addresses.

This was the function we created:

func()
{
    int x;
    int arr[3];
}

The following is the drawing of the function:

Get hands-on with 1200+ tech skills courses.