Results 1 to 8 of 8

Thread: what are the 3 uses for a * in C

  1. #1

    what are the 3 uses for a * in C

    pointer
    multiplication
    ????

  2. #2
    Guest

    Re: what are the 3 uses for a * in C

    according to my book there is only:

    * = operator
    * = Pointer

  3. #3

    Re: what are the 3 uses for a * in C

    mine too... a friend a mine was asked this on an interview. i think it was a trick.

  4. #4

    Re: what are the 3 uses for a * in C

    Interesting question. If you forced me to come up with three, I'd say:

    1) multiplication
    2) declaring a pointer
    3) dereferencing a pointer

  5. #5
    Guest

    Re: what are the 3 uses for a * in C


    Interesting question. *If you forced me to come up with three, I'd say:

    1) multiplication
    2) declaring a pointer
    3) dereferencing a pointer
    2 and 3 is really the same, pointer actions

  6. #6

    Re: what are the 3 uses for a * in C




    2 and 3 is really the same, pointer actions

    i gots to agree, i think it was a trick question.

  7. #7
    Senior Member
    Join Date
    May 2001
    Posts
    472

    Re: what are the 3 uses for a * in C

    /* as part of the start/stop characters for
    a multi-line comment.

    l4merz 8)
    */


  8. #8

    Re: what are the 3 uses for a * in C


    /* as part of the start/stop characters for
    * a multi-line comment.

    *l4merz *8)
    */

    Didn't even think of that!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •