C Programming Tutorial-4: Comments, Newline Escape Sequence & Arithmetic Operators (Contd.)

preview_player
Показать описание
In this tutorial we'll learn to use comments in our C Programs. We'll also check out the remaining arithmetic operators and we'll see how to display output on different lines using the newline escape sequence.
Рекомендации по теме
Комментарии
Автор

also sir.if a/b doesn't comeout to be an integer then how to see the output(it shows the output as zero)

rahulkumarojha
Автор

Hello sir in the line no. 12 in place of printf("n\a/b=%d", a/b);
if we use printf("n\a\b=%d", a/b)
then the output just shows the result(eg =1)and not shows like a\b=1.Why sir?

rahulkumarojha
Автор

Hlo sir,
actually i have a doubt that in this program we have given the digit but if we think that it should be taken by user at the time of complining than what we have to do, i mean that input should be taken from user
sir plzz reply fastly

mansigupta
Автор

single line comments are done like this
// this is how you do single line comments

defritzel
visit shbcf.ru