Type Declaration Instruction This instruction is used to declare the type of variables being used in the program. Any variable used in the p...
Read More
Showing posts with label C Language. Show all posts
Showing posts with label C Language. Show all posts
Instructions to write a C program
C Instructions Now that we have written a few programs let us look at the instructions that we used in these programs. There are basically t...
Read More
Instructions to write C Program
C Instructions Now that we have written a few programs let us look at the instructions that we used in these programs. There are basically ...
Read More
Receiving Input of C Program
Receiving Input In the program discussed below we assumed the values of p , n and r to be 1000, 3 and 8.5. Every time we run the program we ...
Read More
Compilation and Execution of C Program
Compilation and Execution Once you have written the program you need to type it and instruct the machine to execute it. To type your C progr...
Read More
The First C Program
The First C Program Armed with the knowledge about the types of variables, constants & keywords the next logical step is to combine them...
Read More
C Keywords
C Keywords Keywords are the words whose meaning has already been explained to the C compiler (or in a broad sense to the computer). The k...
Read More
Rules for Constructing Variable Names
Rules for Constructing Variable Names A variable name is any combination of 1 to 31 alphabets, digits or underscores. Some compilers allow ...
Read More
Types of C Variables
Types of C Variables As we saw earlier, an entity that may vary during program execution is called a variable . Variable names are names gi...
Read More
Rules for Constructing Character Constants
Rules for Constructing Character Constants A character constant is a single alphabet. A single digit or a single special symbol enclosed wi...
Read More
Rules for Constructing Real Constants
Rules for Constructing Real Constants Real constants are often called Floating Point constants. The real constants could be written in two ...
Read More
Rules for Constructing Integer Constants
Rules for Constructing Integer Constants An integer constant must have at least one digit . It must not have a decimal point . It can be ei...
Read More
Types of C Constants
Types of C Constants C constants can be divided into two major categories: Primary Constants Secondary Constants These constants are further...
Read More
Constants, Variables and Keywords
Constants, Variables and Keywords The alphabets, numbers and special symbols when properly combined form constants, variables and keywords. ...
Read More
The C Character Set
The C Character Set A character denotes any alphabet, digit or special symbol used to represent information. Figure 1.2 shows the valid alph...
Read More
Getting Started with C
Getting Started with C There is a close analogy between learning English language and learning C language. The classical method of learning ...
Read More
What is C
B efore we can begin to write serious programs in C , Four important aspects of any language : · are the way it stores data, · ...
Read More
Subscribe to:
Posts
(
Atom
)