common mistake you make when declaring ..

Home Forums C-programming.. common mistake you make when declaring ..

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2130 Reply
    Humble
    Keymaster

    Its a common mistake I have seen where most of the people think that, ptr1 and ptr2 are same.

    int *ptr1, ptr2;

    where its not… ptr1 is a pointer to an integer where ptr2 is just an “int”…

    #2132 Reply
    Humble
    Keymaster
    This reply has been marked as private.
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: common mistake you make when declaring ..
Your information: