Re: char**



On Sat, 30 Aug 2008 10:55:21 +0000, Richard Heathfield
<rjh@xxxxxxxxxxxxxxx> wrote:

MN said:

I have a question :
How to understand the mean of char** type ?

char is a type - objects of that type are 1 byte in size and can contain as
their value any single member of the execution character set.

char is an integer type and an object of that type can contain any
value between CHAR_MIN and CHAR_MAX, inclusive (independent of whether
the value represents a member of the execution character set).


char * is a type - objects of that type are sizeof(char *) bytes in size,
and can contain as their value the address of a single char.

char ** is a type - objects of that type are sizeof(char **) bytes in size,
and can contain as their value the address of a single char *.

What is the question behind the question?

--
Remove del for email
.



Relevant Pages

  • Re: char**
    ... How to understand the mean of char** type? ... the value represents a member of the execution character set). ... If I'm reading C99 5.2.1 correctly, the execution character set *is* ... - Functions like fgetc should be able to handle the entire ...
    (comp.lang.c)
  • Re: casting to unsigned char for is*() and to*() functions
    ... the C standard says that all members of the execution characterset ... chracter set" and "basic execution character set," described ... it is safe to say that toupperonly works on positive char ...
    (comp.lang.c)
  • Re: trollish
    ... chars, and I use the "read single char" option, is that what I actually ... If I'm calling ... trying to store the result in a char, or I'm calling get_charand trying ...
    (comp.lang.c)
  • Re: regular expression
    ... As to his question of "is there some special char between..." ... the other possibility is a single char line terminator, ... an extra space after the STOP. ... be the best answer - any extra whitespace will screw the index. ...
    (comp.lang.tcl)
  • Re: My strcpy code
    ... s2 is a pointer to char ... sizeofis the size of a single char ... malloc) will either allocate space for 1 char, ... it returns a pointer to the allocated space ...
    (comp.lang.c)