Category Archives: C Programming

Chapter 3: Data Types

Section 3.1: Interpreting Declarations A distinctive syntactic peculiarity of C is that declarations mirror the use of the declared object as it would…
Continue reading

Chapter 2: Comments

Comments are used to indicate something to the person reading the code. Comments are treated like a blank by the compiler and do…
Continue reading

Original “Hello, World!” in K&R C

The following is the original "Hello, World!" program from the book The C Programming Language by Brian Kernighan and Dennis Ritchie (Ritchie was…
Continue reading

Hello World

To create a simple C program which prints "Hello, World" on the screen, use a text editor to create a new file (e.g.…
Continue reading

Getting started with C Language

Version Standard Publication DateK&R n/a 1978-02-22C89 ANSI X3.159-1989 1989-12-14C90 ISO/IEC 9899:1990 1990-12-20C95 ISO/IEC 9899/AMD1:1995 1995-03-30C99 ISO/IEC 9899:1999 1999-12-16C11 ISO/IEC 9899:2011 2011-12-15
Continue reading

TYPES OF POINTERS

Void Pointer: It is a special type of pointer that can be pointed at objectsof any data type.A void pointer is declared like…
Continue reading