@[email protected] to Programmer [email protected] • 2 years agono caplemmy.mlimagemessage-square33fedilinkarrow-up1632
arrow-up1632imageno caplemmy.ml@[email protected] to Programmer [email protected] • 2 years agomessage-square33fedilink
minus-square@[email protected]linkfedilink25•2 years agoPro tip: the arguments to main() don’t have to be named argc and argv. Also, you forgot to #define an alias for atoi, and number, n, and i could’ve been named something more on fleek.
minus-square@[email protected]linkfedilink5•2 years agoYes, as are n and i. Do they not deserve ‘fleekness?’
minus-squaredarcylinkfedilink1•2 years agosorry i misread. i thought u meant number was not #define’d
minus-square@[email protected]linkfedilink7•edit-22 years agoAlso could have takin out mains return type and used sus chief
Pro tip: the arguments to
main()
don’t have to be namedargc
andargv
.Also, you forgot to #define an alias for
atoi
, andnumber
,n
, andi
could’ve been named something more on fleek.number
is a variable i thinkYes, as are
n
andi
. Do they not deserve ‘fleekness?’sorry i misread. i thought u meant
number
was not#define
’dAlso could have takin out mains return type and used
sus chief