| You are here: | About>Computing & Technology>C / C++ / C#> C> All about the C Programming Language |
![]() | C / C++ / C# |
Elsewhere on the WebSuggested ReadingAll about the C Programming LanguageYear of Creation: 1968 to 1973. C is the oldest of the three languages in this topic and according to the Tiobe.com language comparison, C is still the second most popular language, just behind Java. This is largely due to the number of Unix/Linux systems in existence where C reigns supreme. On Windows, C++ is more popular. Why was C Invented?: The design goals of C were to provide a simple procedural language for programming Operating Systems, with direct access to memory, a small library, efficient execution and reasonably portability; certainly more so than Assembly Language. It encouraged Structured Programming- a philosophy popular in the 70s where large applications were divided into smaller more manageable pieces. What was C used for?: One of the earliest applications written in C was Unix. Prior to this, many Operating Systems, including Unix had been written in Assembly Language which restricted their portability. What Versions of C are there?: The first version of C was K&R C named after Dennis Ritchie (who invented C) and Brian Kernighan. This was later superceded by Ansi C in 1990. K&R C was a little loose in checking types and parameters of functions and that could lead to unpredictable results and program failures. Because these could lead to memory being overwritten, it was possible for programs to crash the computer they were running on. Is C Still being Developed?: Several new features were introduced in 1999 - inline functions (like C++), variable length arrays and new types like long long int for 64 bit CPUs but not all compilers support these yet. Does C present any problems for novice Programmers?: For professional development, maintainability is essential. it is possible to write extremely obtuse code in C. There is even an annual contest for the most Obfuscated code at http://ioccc.org
C has some inconsistencies in syntax. E.g. Pointers and arrays - Pointers are prefixed with a * like *x while arrays are postfixed with [] eg u[]. This simplifies the task of writing confusing code. How would You sum up C?: C is a powerful programming language, and one of the most popular but it can bite the novice. It is well worth the study as it is arguably the root (syntactically) of many other procedural languages. Learn C and you've learnt the syntax of half a dozen others.
Elsewhere on the WebSuggested Reading |
Las Vegas on a BudgetFind a BargainHotel DealsCheap EatsFree AttractionsEntertainment for Less |
All Topics | Email Article | Print this Page | | ![]() |
| Advertising Info | News & Events | Work at About | SiteMap | Reprints | Help | Our Story | Be a Guide |
| User Agreement | Ethics Policy | Patent Info. | Privacy Policy | ©2008 About, Inc., A part of The New York Times Company. All rights reserved. |


