Search:

Type: Posts; User: root4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    10,241

    Okay. "String" is a pointer to a character, a...

    Okay.
    "String" is a pointer to a character, a string in C is an array of characters, terminated by the character \0.
    So if you do "*String", you get the first character of the string.
    If you do...
  2. Replies
    6
    Views
    10,241

    There's no difference between "char *x" and...

    There's no difference between "char *x" and "char* x", this is syntactically equivalent for the compiler, the style is up to you.
    There must be another difference you didn't spot, post your code.
Results 1 to 2 of 2