employer cover photo
employer logo
employer logo

Tata Consultancy Services

Gehört zu Tata Group

Ist dies Ihr Unternehmen?

Frage im Vorstellungsgespräch bei Tata Consultancy Services

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

Antwort im Vorstellungsgespräch

Anonym

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