
C is an application-oriented language that was developed by Dennis Ritchie. it’s a language that the majority of the operating systems are completely or partially written in C. it’s mostly used for the event of Operating systems, Kernels, Compilers etc.
It is also called the mother of all programming languages. Because most of the fashionable programming languages directly or indirectly influenced from C (such as C++, Java, C#, PHP, Perl, and JavaScript etc.).
C has some predefined Keyword. There are only 32 keywords available in C. The keywords also are called ‘Reserved words’.
predefined Keyword
auto
break
case
char
const
continue
default
dodouble
else
enum
extern
float
for
goto
ifint
long
register
return
short
signed
sizeof
staticstruct
switch
typedef
union
unsigned
void
volatile
while
C program structure
Header Directory files
global declarationsmain()
{
local variable declaration
statement sequences
function invoking
}
Data Type
Some of the common data types are:
int – integer
char – character
long – long integer
float – float number
double – long float
Placeholders:
Placeholders Format
%c Character
%d Signed decimal integer
%i Signed decimal integer
%e Scientific notation[e]
%E Scientific notation[E]
%f Decimal floating point
%o unsigned octal
%s String of character
%u unsigned decimal integer
%x unsigned Hexadecimal (lower)
%X unsigned Hexadecimal (upper)
%p display a pointer
Escape sequences
Some of the non printing characters also because the backslash () and therefore the apostrophe(‘), are often expressed in terms of escape sequence.
\a – Bell
\b – Backspace
\f – Formfeed
\t – Horizontal tab
\” – quote
\v – Vertical tab
\’ – Apostrophe
\\ – Backslash
\? – interrogation mark
\0 – Null
Thanks for reading this text. This story is about "Introduction to C Programming" and last modernize on Thursday, March 23, 2023. I'm sure your visit to us must be quite satisfying and in line together with your expectations from us.