Oh yeah. You're using sscanf, not scanf, so that is fine. If you used scanf instead, then the order matters because the input buffer would be changed.
Type: Posts; User: laserlight
Oh yeah. You're using sscanf, not scanf, so that is fine. If you used scanf instead, then the order matters because the input buffer would be changed.
Haven't tested, but I don't think that is correct because order of evaluation is unspecified.
I would think that you have seen how scanf, or fgets with sscanf or strtol or atoi, have been used.