Talk:C Programming/Beginning exercises

Shouldn't there be answers to theses questions?

I agree; these exercises would be a lot more useful with solutions. Meatnordrink (discuss • contribs) 18:15, 27 November 2020 (UTC)

bool
The first excercise of the "Functions" section mentions the bool type. Is bool a standard C type? Looks like it is not mentioned in this book. Rodolfo Borges 18:23, 30 August 2006 (UTC)

I don't think the original asker cares anymore, but someone else may. Try reading this.

Simple I/O
In the code block under the title Simple I/O, one line reads: c=a^b. According to Wikipedia ^ is a bitwise operator, it is NOT the power function. Was the use of ^ here on purpose, or should c=a^b be replaced with pow(a,b)?

String Manipulation Q2
The solution does not work (on line 11 'gets_s' function). I'm a novice programmer so I won't dare try to fix it. Anyone else want to attempt a solution? :)