C Programming Tutorial Library

60 Lessons

C Decision Making

C conditional statements allows you to make decision, based upon the result of a condition.

  • if statement
  • if else statement
  • else if statement
  • switch statement

    C Nested if-else Statements

    Nested if-else statements in C programming plays an important role, it means you can use conditional statements inside another conditional statement.

      C goto Statement

      C supports a special form of statement that is the "goto" Statement which is used to branch unconditionally within a program from one point to another

         

        C Loops

        A loop executes a block of commands a specified number of times until a condition is met. In this tutorial, you will learn about all the looping statements of C programming along with their use.

          C Functions

          C function is a self contained block of statements that can be executed repeatedly whenever we need it.

          • What is function?
          • Benefits of using function
          • Types of function
          • Parts of Function

            C Function Arguments

            While calling a function, the arguments can be passed to a function in two ways, Call by value and call by reference.

            • Call by value
            • call by reference

              C Library Functions

              The C library functions are provided by the system and stored in the library. The C library function is also called an inbuilt function in C programming.

                C Variable Scope

                A scope is a region of the program, and the scope of variables refers to the area of the program where the variables can be accessed after its declaration.

                • Local Variables
                • Global Variables

                  C Recursion

                  Recursion can be defined as the technique of replicating or doing again an activity in a self-similar way calling itself again and again and the process continues till specific condition reaches.

                    C Storage Classes

                    Storage Classes are associated with variables for describing the features of any variable or function in C program. These storage classes deal with features such as scope, lifetime and visibility which helps programmers to define a particular variable during program's runtime.

                      C Preprocessors

                      The preprocessor is a program invoked by the compiler that modifies the source code before the actual composition takes place.

                      • Macro substitution division
                      • File inclusion division
                      • Compiler control division

                        C Header Files

                        Header files are helping file of your C program which holds the definitions of various functions and their associated variables that needs to be imported into your C program with the help of pre-processor #include statement.

                          C Custom Header File

                          Custom header files in C helps you to manage user-defined methods, global variables, and structures in the separate file.

                            C Arrays

                            Array is a data structure in C programming, which can store a fixed size sequential collection of elements of same data type.

                            • Define an Array
                            • Initialize an Array
                            • Accessing Array Elements

                              C Strings

                              In C programming, the one-dimensional array of characters are called strings, which is terminated by a null character '\0'.

                              • Strings Declaration
                              • Strings Initialization

                                C Pointers

                                A pointer is a variable in C, and pointers value is the address of a memory location.

                                • Pointer Definition
                                • Benefits of using Pointers
                                  Scroll Back to Top