# Introduction A null pointer is a pointer that does not point to any memory address. In C programming, a null pointer is represented by the constant NULL, which is defined in the header file stdio.h. Using a null pointer can help to avoid errors and add functionality to C programs. In this lab, you will learn about null pointers and how to use them in C programming. You will create a program that uses null pointers to search for names in an array. > Note: You need to create the file `~/project/main.c` yourself to practice coding and learn how to compile and run it using gcc. ```bash cd ~/project # create main.c touch main.c # compile main.c gcc main.c -o main # run main ./main ```
Click the virtual machine below to start practicing