PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] char * v char **
Date: Monday, 17 Feb 2020, 15:47:34


    > Message Posted By: Unknown
    >
    > What exactly is the difference between char * and char ** if char * in
    > name declares a string but actually declares a pointer to the zeroeth
    > element in the string? Is that not exactly the same as char **, a pointer
    > to a string?

A char* is a pointer to a char value; a char** is a
pointer to a pointer to a char value.

I do not understand the rest of your question.

--Stan-
PREV INDEX NEXT