What is a link list? Describe it with a C program?

The Linked list is a chain of structures in which each structure consists of data as well as a pointer, which stores the address (link) of the next logical structure in the list. A linked list is a data structure used to maintain a dynamic series of data. Think of a linked list as a […]
What is the use of if-else statement in the C language? give a suitable example!

The if statement by itself will execute a single statement or a group of statements, when the expression following it evaluates to true. It does nothing when the expression evaluates to false. Can we execute one group of statements if the expression evaluates to true and another group of statements if the expression evaluates to […]
What are the logical operators in C give a suitable example with a program?

Use of Logical Operators C allows usage of three logical operators, namely, &&, || and !. These are to be read as ‘AND’ ‘OR’ and ‘NOT’ respectively. There are several things to note about these logical operators. Mostly, two of them are composed of double symbols, those are || and &&. Don’t use the single […]
Receiving input in C
In general C program, you can itself should ask the user to supply the values of required variables. This can be achieved using a function called scanf( ). This function is a counter-part of printf( ) function. Printf( ) outputs the values to the screen, whereas scanf( ) receives them from the keyboard. Each variable […]
Constants, Variables & keywords

In any C program, we typically do lots of calculations. The results of these calculations are stored in the computer’s memory. Computers memory also consists of millions of cells, to make the usage of these values easy, memory cells are given names. Since the value stored in each location may change, the names given to […]
introduction to C

C is a programming language developed at AT & T’s Bell Laboratories of the USA in 1972. It was designed & written by a man named Dennis Ritchie. C became popular because of its reliability, simple & easy to use. In an industry where newer languages, tools & technologies emerge & vanish day in & […]