The process of calling a function by itself is called recursion and the function which calls itself is called recursive function. Recursion is used to solve various mathematical problems by dividing it…
Array is a collection of data of same types stored in sequential memory location. It is a linear data structure, where data is stored linearly one after the other. The elements in…
Function is a logically grouped set of statements that perform a specific task. In C program, a function is created to achieve something. Every C program has at least one function i.e.…
A loop inside another loop is called a nested loop. The depth of nested loop depends on the complexity of a problem. We can have any number of nested loops as required.…
Looping is a process of repeating a certain group of statements until a specified condition is satisfied. There are three types of loop in C. They are:
Looping is a process of repeating a certain group of statements until a specified condition is satisfied. There are three types of loop in C. They are:
Looping is a process of repeating a certain group of statements until a specified condition is satisfied. There are three types of loop in C. They are:
switch case is a multiple branching statement which compares the value of expression or variable inside switch() with various cases provided with the statement and executes a block when a match is…
Decision making is an important part of programming. Every programming language supports decision making statements allowing programmers to branch according to the condition. In C programming language, if statement is used to…
Clojure is a dynamic functional programming language which is designed to combine approachability and interactive development of a scripting language with an efficient and robust infrastructure for multi-threaded programming. Leiningen is a…
Using array in programming, we allocate a fixed size for our data. This size can’t be increased or decreased while execution of the program. We can’t change it even if the size…
In this Section, you will learn about Operators in C Programming (all valid operators available in C), expressions (combination of operators, variables and constants) and precedence of operators (which operator has higher…
A C program can be divided into several sections to have a better understanding about the different parts of a C program.
In this section, you will learn about character set(characters that are valid), keywords(reserved words) and identifiers(user-defined names) of C Programming Language.
In C programming, variables which are to be used later in different parts of the functions have to be declared. Variable declaration tells the compiler two things: The name of the variable…
Stack is one of the most powerful and most useful concept in programming. It is an ordered collection of items where items can be inserted and deleted from the same end. Only…