employer cover photo
employer logo
employer logo

Tata Consultancy Services

Fait partie de Tata Group

Employeur impliqué

Question d’entretien chez Tata Consultancy Services

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

Réponse à la question d'entretien

Utilisateur anonyme

15 juin 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.