Writing The First C program
The basic syntax of writing a C program - The anatomy of C
Read tutorialTHE TUTORIAL LIBRARY
The basic syntax of writing a C program - The anatomy of C
Read tutorialThe character set of C - C has three main types of constants namely integer,real and character constants - There are 32 keywords or reserved words in C
Read tutorialThis program lets you enter up to MAX values (20 in this case). It sorts the values and prints them in order. Then it lets you enter a value to search for in the array. A printed m
Read tutorialThis program makes use of an array of pointers to strings.You can "sort" the strings by sorting the array of pointers. However, this method requires a modification in the compariso
Read tutorialThe perror() function is another of C's error-handling tools. When called, perror() displays a message on stderr describing the most recent error that occurred during a library fun
Read tutorialThe header file ERRNO.H defines several macros used to define and document runtime errors. These macros are used in conjunction with the perror() function.
Read tutorialHow do you use assert()? It is most frequently used to track down program bugs (which are distinct from compilation errors). A bug doesn't prevent a program from compiling, but it
Read tutorialThe following listing contains a single program that demonstrates several of the Math functions. However if you need to refer to other functions then you may look at the tables bel
Read tutorialThree bitwise logical operators are used to manipulate individual bits in an integer data type, as shown in Table below. These operators have names similar to the TRUE/FALSE logica
Read tutorialTwo shift operators shift the bits in an integer variable by a specified number of positions. The > operator shifts bits to the right. The syntax for these binary operators is
Read tutorialUse memset() to initialize a block of memory to a specified value. Because this function can use only a type char as the initialization value, it is not useful for working with blo
Read tutorialWhen you allocate memory with either malloc() or calloc(), it is taken from the dynamic memory pool that is available to your program. This pool is sometimes called the heap, and i
Read tutorialOne example today. A better developer tomorrow.