C Programming Tutorial Library

60 Lessons

C Structures

The structure is a user-defined data type in C, which is used to store a collection of different kinds of data.

    C Unions

    Unions is user-defined data type in C, which is used to store a collection of different kinds of data, just like a structure. However, with unions, you can only store information in one field at any one time.

      C typedef

      typedef is a C keyword implemented to tell the compiler for assigning an alternative name to C's already exist data types. This keyword, typedef typically employed in association with user-defined data types in cases if the names of datatypes turn out to be a little complicated or intricate for a programmer to get or to use within programs.

        C File Handling

        C files I/O functions handles data on secondary storage device, such as a hard disk.

        • C File Operations
        • Steps for Processing a File

          C Command Line Arguments

          Command-line arguments are arguments specified after a program name in the command line of operating systems (DOS or Linux) and these values are passed to your program at the time of execution from your operating system (OS).

            C99 Features

            C99 is recognized as one of the advanced topics of C. In this chapter, you will learn about the features that are available in C99 standard but not in its previous version.

              C Error Handling

              There are few methods and variables available in C's header file error.h that is used to locate errors using return values of the function call.

                Bit Fields in C

                In C, you can state the size of your structure (struct) or union members in the form of bits. This concept is to because of efficiently utilizing the memory when you know that your amount of a field or collection of fields is not going to exceed a specific limit or is in-between the desired range.

                  Scroll Back to Top