Search:

Type: Posts; User: H`eya

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,716

    Many thanks, to both of you. I understand.

    Many thanks, to both of you.
    I understand.
  2. Thread: Read only memory

    by H`eya
    Replies
    2
    Views
    1,228

    Thank you for your help

    Thank you for your help
  3. Thread: Read only memory

    by H`eya
    Replies
    2
    Views
    1,228

    Read only memory

    char *quote = "Live long and prosper";
    char expression[] = "Illogical";

    quote = expression;


    Initially quote pointed to read-only memory. When I reassigned the quote to point to expression,...
  4. Replies
    4
    Views
    1,716

    Appreciate your prompt response. Allow me to...

    Appreciate your prompt response.
    Allow me to explain further then, since I think I did not give you enough to clarify my concerns.


    #include <stdio.h>
    #include <stdlib.h>

    int main (void )
    {...
  5. Replies
    4
    Views
    1,716

    Questions about pointers and malloc

    If I have


    char **array = malloc (sizeof *array);
    What have I created? What's array pointing to?


    If I write

    size_t row; /* defined before calling malloc */
Results 1 to 5 of 5