Category: C Programming

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
do
double
else
enum
extern
float
for
goto
if
int
long
register
return
short
signed
sizeof
static
struct
switch
typedef
union
unsigned
void
volatile
while

C program structure

Header Directory files
global declarations

main()
{
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 Saturday, May 23, 2020. I'm sure your visit to us must be quite satisfying and in line together with your expectations from us.

About the author

I am a WordPress Developer and over the last three years, I've worked over 15+ projects including Custom Theme Development. I am skilled in WordPress, HTML, jQuery, Drupal and mySQL. I enjoy traveling, eating my way around the world, and sharing experiences on my blog! Outside of work, I attain knowledge from Udemy classes. I am going through various youTube Tech channels and learn something about new technologies a day. Also I like meeting new people over a cup of coffee. Please feel free to contact me at info@webdroyd.com