5 March 2009

What is c programming?

c Programming.
  • C is a general-purpose computer programming language originally developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories to implement the Unix operating system and the other purpose of building this language is to create independent software.
  • C has greatly influenced many other popular programming languages, most notably C++, which originally began as an extension to C, and Java and C# which borrow C lexical conventions and operators.
  • C was therefore useful for many applications that had formerly been coded in assembly language.
  • array indexing as a secondary notion, defined in terms of pointer arithmetic
  • No automatic garbage collection
  • C supports a rich set of operators, which are symbols used within an expression to specify the manipulations to be performed while evaluating that expression.
  • C99, new standard for the C programming language

for example:
long int SomeFunction();
/* int OtherFunction(); */

/* int */ CallingFunction()
{
long int test1;
register /* int */ test2;

test1 = SomeFunction();
if (test1 > 0)
test2 = 0;
else
test2 = OtherFunction();

return test2;
}


DISCLAIMER:
THIS ALL THE DATA IN FROM WHICH WE FATCH IS ONLY FOR THE LEARNING PURPOSE ONLY AND IT ARE RESPECTIVE RIGHT OF THEIR OWNERS.