employer cover photo
employer logo
employer logo

Tata Consultancy Services

Part of Tata Group

Engaged employer

Tata Consultancy Services interview question

Explain the difference between a pointer and an array in C.

Interview Answer

Anonymous

Jun 15, 2026

I explained that a pointer stores the address of another variable, while an array is a collection of elements stored in contiguous memory locations. Although array names can behave like pointers in some situations, arrays and pointers are different data types and have different memory characteristics.