Domanda di colloquio di DP

What is a pointer in C, and how is it declared?

Risposta di colloquio

Anonimo

29 lug 2025

A pointer is a variable that stores the memory address of another variable. It is declared using *, like int *ptr; to store the address of an int.