|
What is the introduction and features of 'C' language?
Prepared by: Arakkal. M. Sebastian mailto:sebastianam@sabic.com http://www.geocities.com/sebynisha INTRODUCTION TO 'C' 'C' is a general purpose programming language. It is also called middle level language. Because, it contains the feature of high level language and low level language. HISTORY 'C' was designed by Dennis Ritchie. There was a language called 'BCPL' (Basic Combined Programming Language) Designed by Martin Ritchards. 'BCPL' was later modified by "Ken Thomson" and named as 'B'. Then 'B' was again modified by Dennies Ritche and named modified version as 'C'. TURBO 'C' Any high level language has to be translated to machine code. This job is done using either computer or interpreter. Turbo C is a compiler that runs on IBM PC's. It is developed by "Borland International Corporation". Another well known compiler is Microsoft C developed by Microsoft Corporation. FEATURES OF 'C' FEW KEY WORDS There are only 32 keywords in 'C' language. Keyword is a word that is assigned a predefined task in the language. CASE SENSITIVE 'C' is a case sensitive. It means, capital letters are different from small letters. So VARIALBE 'A' is different from VARIABLE 'a'. Even keywords should always given in lower case. RICH IN OPERATORS 'C' has more number of operators than other programming languages. An operator is a symbol that performs an operation like addition. NO INPUT/OUTPUT 'C' doesn't provide any input/output facilities. There is no keyword to read from keyboard or file. LOW LEVEL LANGUAGE As 'C' was designed for system programming, It is very important for to provide the features of low level language which is normally used for system programming. FUNCTION ORIENTAL Everything in 'C' is done through a function program itself begins with a function called 'main'. Total program is written a collection of functions. There are around four hundred ready-maid functions supplied by 'TURBO C'. Apart from these functions, programmer can also write tailor-maid function or use defined functions. STRUCTURED LANGUAGE A structured language allows programmer to divide program into modules and provides all basic control structures like 'if' statement, for loops, while loops and switch statement etc.. 'C' is one of the structure language. NO STRICT CHECKING There is no strict data type checking. You can change the type of data from one-to-another as long as data types are compatible. You can convert an integer to a float and vise versa. That's why 'C' is called as weakly typed language. About Author: Arakkal. M. Sebastian is a re-seller of e-commerce solutions packages, internet service providing in US and Canada, domain name registration services, and other services to start successfull online businesses with excellent customer support! Please visit: http://www.geocities.com/sebynisha
|
Link to this article, just copy and paste following code:
<a href=http://www.torroid.com/article751.html>What is the introduction and features of 'C' language?</a>
|
Article viewed 518 time(s). Read more: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | |