Introduction
The meaning of x to the power of y is , a variable x is multiply for y time. Lets take a simple example a variable x is hold 2 and y hold 5. Now the answer is 2 multiply for 5 times such as..
z=2*2*2*2*2;
z=32
...
Friday, January 8, 2016
Structure of a C program
The structure of a C program is nothing but the way of framing the group of statements while writing a C program. We put the general structure of a C program first as shown below:
[preprocessor directives]
[global declaratio...
Principles of Programming in C language
Introduction to Programming
Remember your last visit to the super market. You might have purchased many items. What did you do after picking all the items and putting them into the carriage? Probably you met with the billing cl...
Wednesday, May 6, 2015
Demerits of bottom-up technique in c language
In my previous article i explained about:
Features of top-down technique
Merits of bottom-up technique
Now, today i will learn about Bottom up technique demerits:
The application developed using this technique cannot be te...
Wednesday, April 8, 2015
Unstructured technique of programming in C language
Definition : An approach of designing a program simply using series of statements is called unstructured programming.
In such programming technique every task is solved using series of simple statements only. Branching and repe...
Monday, March 9, 2015
Tips for program designing in C language
Now, let us see "What are the tips to design a good program?"
Although the program design involves several stages, the following are the few important tips to design a good program:
I Tip: Make a program readable. It is a combin...
Coupling in borland C language
Coupling measures the strength of all relationships between functional units. It is the measure of the interdependence of one module to that of another. The program should have low coupling. Low coupling minimize the cause of er...
Pointer introduction in C language
Introduction
Pointer is one of the important feature available in C language. Almost all the program in the software industry are written only using pointer, But many people think that pointer concept is difficult. The correct u...
Linear Search in C language
Searching
Before writing the algorithm or program for searching , let
us see, “ What is searching? What are the searching techniques?”
Definition : More often we will be working with the large
amount of data. It may be necess...
Sunday, March 1, 2015
Difference between malloc( ) and calloc() in C language
In c language article we will see the difference between malloc() and calloc(). Both are the functions in c language. See the table which is mentioned below:
Malloc()
Calloc()
The Syntax of malloc() is :
Ptr ...
Advantages and Disadvantages of pointers in C language
By this time, you might have understood the concepts of C pointers and if any problem is given, you should be in a position to solve. After understanding the full concepts of pointers, we should be in a position to answer the qu...
Sunday, February 22, 2015
C language: Searching in graph
Similar to traversal of graph two searching techniques of the graph are used which are Breadth First Search and Depth First Search. Both the techniques are same as respective traversal techniques. In case of breadth first search...
C Language: Depth First Traversal in Graph
This traversal techniques is based on the fact of visiting all the nodes of graph in the depth of it. It means start from the start node of the graph and reach to last node of the graph in its depth (so that no further unexplore...
Successors of C language
C and even B have several direct descendants, through they do not rival pascal. One side branch developed early. When Steven Johnson visited the University of Waterloo on sabbatical in 1972, he brought B with him. It became popu...
Saturday, February 21, 2015
C Language standards
C came into existence in between 1969-1973 in parallel with the development of UNIX operating system. The C Programming Language, in the middle of 1980s,was officially standardized by the ANSI X3J11 committee. Until the early ...
Features of C Language
Definition: The capabilities and functionality provided by the C language are collectively called features of C Language. The features of C Language have made it popular.
Let us see, "What are the features of C language ?"
The ...
Friday, February 20, 2015
Pointer values in C language
Suppose, we have the following declaration:
int i=100, j=200, k=300;
This declaration tells the compiler to perform the following activities:
Reserve space for three integer values in memory.
Associate the variables i,j and k ...
Thursday, February 19, 2015
Array in C language
Introduction
In this chapter, we will discuss a very important data type
arrays. Let us see, “Why arrays?’’
We know that in one variable we can store the information of
only one data item. Suppose that a
Student has scored ...