C notes For Programmers (PART 1) :
// to make a single line comment
/*
to make
multiline
comment
*/
2-
#include<stdio.h>
this line tells the compiler to include information about the standard input/output library
3-
printf() function is not a part of c language ;
there is no input or output defined in C itself.
printf is just a useful function from the standard library of functions
4-
5-Learn to convert from while to for loop to get the same results
6-The syntax for creating a constant using #define in the C language is:
#define CNAME value
#define CNAME (expression)
CNAME
The name of the constant. Most C programmers define their constant names in uppercase, but it is not a requirement of the C Language.
تعليقات: 0
إرسال تعليق