Domanda di colloquio di General Atomics

What is the value to a char pointer?

Risposta di colloquio

Anonimo

28 gen 2025

Usually, it is for pointing to a string (usually at the beginning of). i.e. char str[] = "Interview"; char* c = str; cout << *c; // will print the char 'I'