Search:

Type: Posts; User: Moe45673

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,605

    Ok, that makes sense. I just tested putting...

    Ok, that makes sense. I just tested putting "sizeof(*a)" in the function to see if that helped but it didn't. :p

    I guess I'll just accept the rule of thumb to pass the size as a parameter.
    ...
  2. Replies
    7
    Views
    1,605

    Newb Question concerning sizeof() function

    I wrote a simple program that takes in 5 numbers into an array and then spits them back at you. Except that if the number inputted by the user is less than 10, it is doubled.

    Simple enough. What I...
Results 1 to 2 of 2