A variable is an entity whose value keeps on changing throughout the program execution. As we all know, data is stored in the memory of the computer. Actually, data is not stored in the variable. A variable is the name given to the memory location. A variable name is an entity that points to a particular memory location.
Variable can be of different types.
Rules for constructing variable names
1) A Variable name consists...
Welcome
5 Rules for Constructing Variable Names in C Language
[Read More...]
1 How to Install Turbo C++ Version 3.0, Compile and Run C Program

In this article, you will get answers to the following questions:
How to Install Turbo C++ Version 3.0?
How to create a new C Program using Turbo C++ Version 3.0?
How to run a C Program using Turbo C++ Version 3.0?
How to Install Turbo C++ Version 3.0?
Installing Turbo C++ Version 3.0 is very easy and effortless. Follow below mentioned easy...
0 The C Preprocessor

The job of the C Preprocessor is to process the source code before it is passed to the compiler. The preprocessor command is also known as directive.
The C Program is often called as source code. Before the program is compiled, the source code goes through one process called preprocessor.
The preprocessor gets the source code (pr.C...
0 Structures in C Programming Language
The Structure is a special type of C data type. A structure contains a number of data types grouped together. Structure in C is one of the excellent functionality provided in C. Structure makes C Programming language easy and simpler up to certain extent. Structure is most widely used in Programming.
Structure in C allows multiple data types to be grouped together. As a programmer I have used structures in C a lot and find...
0 Storage Classes in C Programming Language
A storage class is an attribute that tells us where the variable would be stored, what will be the initial value of the variable if no value is assigned to that variable, life time of the variable and scope of the variable.
There are four storage classes in C:
1) Automatic storage class
2) Register storage class
3) Static storage class
4) External storage class
Automatic storage class:
The keyword used for Automatic storage...
0 sscanf and sprintf functions
sscanf() function is used to extract strings from the given string.
Consider,
Char *str = "Learn C Online";If we want to extract "Learn", "C" and "Online" in a different variable then it can be done using sscanf function.
Syntax:sscanf(characterArray, "Conversion specifier", address of variables);
This will extract the data from the character array according to the conversion specifier and store into the respective variables.sscanf()...
0 String Handling Functions
Following are some of the useful string handling functions supported by C.1) strlen()2) strcpy()3) strncpy()4) strcat()5) strncat()6) strcmp()7) strncmp()8) strcmpi()9) strncmpi()
These functions are defined in string.h header file. Hence you need to include this header file whenever you use these string handling functions in your program.
All these functions take either character pointer or character arrays as arguments.
strlen()
strlen()...
Subscribe to:
Posts (Atom)