C-PROGRAMMING

C-PROGRAMMING

C-PROGRAMMING 

Hellow! friends i am Shiva I welcome you to my c programing website. I beleave you comme here to gain come knowledge about c programing.

This website is created for all those people who wants to learn about c programing.

We provide you asure knowledge of programing in c language after learning it you will make a project related to c programing


Four important aspects of any language are the way it stores data, the way it operates upon this data, how it accomplishes input and output and how it lets you control the sequence of execution of instructions in a program.

So know we start our Journy!....

What is C ??

C is a programming language developed at AT and T’s Bell Laboratories of USA in 1972. It was designed and written by a man named Dennis Ritchie.

In the late seventies C began toreplace the more familiar languages of that time like PL/I,ALGOL, etc. No one pushed C. It wasn’t made the ‘official’ Bell Labs language. Thus, without any advertisement C’s reputation spread and its pool of users grew. Ritchie seems to have beenrather surprised that so many programmers preferred C to older languages like FORTRAN or PL/I, or the newer ones like Pascal and APL. But, that's what happened.

Getting Started with C ??

Communicating with a computer involves speaking the language the computer understands, which immediately rules out English as the language of communication with computer. However, there is a close analogy between learning English language and learning C language. The classical method of learning English is to first learn the alphabets used in the language, then learn to combine these alphabets to form words, which in turn are combined to form sentences and sentences are combined to form paragraphs.

Learning C is similar and easier. Instead of straight-away learning how to write programs, we must first know what alphabets, numbers and special symbols are used in C, then how using them constants, variables and keywords are constructed, and finally how are these combined to form an instruction. A group of instructions would be combined later on to form a program.

Constants, Variables and Keywords ??

The alphabets, numbers and special symbols when properly combined form constants, variables and keywords. Let us see what are ‘constants’ and ‘variables’ in C.

A constant is an entity that doesn’t change whereas a variable is an entity that may change.

Variable:-->

A Variable is an identifier which is used to store some value. Variable can change at the time of execution of a program and update the value stored inside it.

Rules for Constructing Variable Names

1. A variable name is any combination of 1 to 31 alphabets, digits or underscores. Some compilers allow variable names whose length could be up to 247 characters. Still, it would be safer to stick to the rule of 31 characters. Do not create unnecessarily long variable names as it adds to your typing effort.

2. The first character in the variable name must be an alphabet or underscore.

3. No commas or blanks are allowed within a variable name.

4. No special symbol other than an underscore (as in gross_sal) can be used in a variable name.




Constant:-->

Data values that stay the same every time until a program is executing are known as constants. Constant are not expected to change.

Keywords:-->

Keywords are predefined ,reserved words in C-programming and each of which is associated with a specific features. These words help us to use the functionality of C-programming. There are total 32 keywords in C-programming which are as follows...

Now a few useful tips about the program...

Related Posts

1 Response to "C-PROGRAMMING"

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel