yes it returns the number of chars it outputs, that is unless you prefix it with the type void like so "(void)printf("hello\n");". But if you assigned the return value to a variable, it will warn you that the return value isn't ignored like you said it should be (by prefixing void).
This has been flagged as spam show
Thanks! Very good video! :D
katheryncruz24 2 months ago
He's really fun to listen at. Even if he talks quit too fast.
jhamien920 2 months ago
Side effects may include diarrhea, death, apocalypse or even carshing the computer!
wotofl 8 months ago
-9,326,817!!!
Oh! That means he wants me to explode!
ASeventhSign 9 months ago
Haha! Not much of Norwegian music x)
TheAdUd 1 year ago
Skip to 12:45 where the lecture starts to avoid most of the tedious stuff.
BestTypoEver 1 year ago 7
This lecturer is really fun to listen to, I've enjoyed all the videos so far.
AffiliateMarketing 2 years ago
Man, I love Richard. This is what teaching should be like. We need more Richards! :p :)
DIABLOVT12 2 years ago 30
@DIABLOVT12 he should join the khanacademy and teach programming :D
annihilatedsin 7 months ago in playlist COMP1917 Higher Computing - Richard Buckland UNSW
it feels like i missed a lecture somewhere along the line lol..
NiGhtMarEs0nWax 2 years ago
@NiGhtMarEs0nWax I know what you mean, but i think its just a quick paced course
0121ryanh117 2 years ago
yes it returns the number of chars it outputs, that is unless you prefix it with the type void like so "(void)printf("hello\n");". But if you assigned the return value to a variable, it will warn you that the return value isn't ignored like you said it should be (by prefixing void).
No one's even going to read this lol.
jrockpunk1 3 years ago 12
I read it :-)
evillemonkey 2 years ago
@jrockpunk1 I read it :D
ShatoriKiriyama 1 year ago
printf returns int ;)
kid29a 3 years ago