Recent Articles

C Coding example: Program to calculate determinant of a matrix using recursion

The aim of the program is to find the determinant of a matrix by using recursion. Recursion occurs when a function calls itself in the function definition. The program codes will clear the concept of recursion further. The program has been compiled and tested in Turbo C++ compiler and if you encounter any error in [...]

September 24, 2011 | 0 Comments More

C code:Sorting technique-Bubble sort

Retrieval of information is made easier when it is stored in pre-defined order. Sorting, is therefore, a very important computer application activity. Many sorting algorithms are available. Different environments require different sorting methods. In the method called Bubble sort, multiple swapping take place in one pass. Smaller elements move or bubble up to the top of the list, hence [...]

September 23, 2011 | 1 Comment More

C Code examples:Searching in an array

The following code will perform binary search in a sorted single dimensional array. To search a particular item with a certain target the approximate middle entry of the table is located and its key value is examined. If its value is higher than the target, the key value of the middle entry of the first [...]

September 23, 2011 | 0 Comments More

C Code: Operations in a link list

The following program performs the mentioned tasks in a link list- Creation of a single link list Displaying the single link list Inserting a node at the beginning of the link list Inserting a node at a specific location in the link list Inserting a node at the end of the link list Deleting a [...]

September 22, 2011 | 0 Comments More

C programming mini projects

Hello friends. This is the beginning of the series of blog posts related to mini projects on C programming. These codes are simple and very easy to understand, even for school goers. All these programs have been compiled and tested in turbo C and if you encounter any fault or error while executing these programs, [...]

September 17, 2011 | 2 Comments More

Programming language

After the incorporation of Integrated Chips or ICs into computers, the whole face of computing changed. Computers became faster with each passing year and the increase in the efficiency, speed and accuracy of the computing and analyzing machines was colossal. Large scale production of computers resulted in decrease in the cost of production. This factor [...]

September 14, 2011 | 0 Comments More

Fundamental interview questions on C language

Q- What is the output of printf(“%d”)? A- 1.When we write printf(“%d”,x); this means the compiler will print the value stored in x. But in this case, there is nothing after %d, so the compiler will show in output window some garbage value. 2. When we use %d, the compiler internally uses it to access [...]

September 14, 2011 | 0 Comments More

Importance of conceptual study of engineering mechanics

Mechanics is the branch of physical science which is concerned with the behavior of physical bodies when subjected to forces and displacements. Dynamics and Kinematics are two core forms of mechanics. Kinematics is the form of classical mechanics which that describes the motion of bodies and systems, without studying about the cause of the very [...]

September 13, 2011 | 0 Comments More

C programming interview question: Set 3

This is the 3rd set of probable interview questions and most probably the last set of the series of questions. Various fundamentals of the C programming language have been covered by the given questions. Q-How can you determine the size of an allocated portion of memory? Ans- You can not really do it, but free() [...]

September 11, 2011 | 0 Comments More

WHAT IS MECHANICAL ENGINEERING?

Mechanical Engineering is the branch of engineering that deals with the structure and functioning of the devices used in industries. It gives the students a deep insight of even the smallest component and trains them to work in the worst possible industrial scenario. Mechanical engineering is considered to be one of the core branches of [...]

September 11, 2011 | 0 Comments More