answersLogoWhite

0

What are the uses of C language?

Updated: 8/17/2019
User Avatar

Wiki User

15y ago

Best Answer

In computing, C is a general-purpose, cross-platform, block structured, procedural, imperative computer programming language originally developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system.[2] Although C was designed for implementing system software,[3] it is also widely used for developing application software. It is widely used on a great many different software platforms and computer architectures, and several popular compilers exist. C has greatly influenced many other popular programming languages, most notably C++, which originally began as an extension to C. Like most imperative languages in the ALGOL tradition, C has facilities for structured programming and allows lexical variable scope and recursion, while a static type system prevents many unintended operations. In C, all executable code is contained within functions. Function parameters are always passed by value. Pass-by-reference is achieved in C by explicitly passing pointer values. Heterogeneous aggregate data types (struct) allow related data elements to be combined and manipulated as a unit. C program source text is free-format, using the semicolon as a statement terminator (not a delimiter). C also exhibits the following more specific characteristics: * non-nestable function definitions, although variables may be hidden in nested blocks * partially weak typing; for instance, characters can be used as integers * low-level access to computer memory by converting machine addresses to typed pointers * function pointers allowing for a rudimentary form of closures and runtime polymorphism * array indexing as a secondary notion, defined in terms of pointer arithmetic * a preprocessor for macro definition, source code file inclusion, and conditional compilation * complex functionality such as I/O, string manipulation, and mathematical functions consistently delegated to library routines * a few dozen reserved keywords * syntax divergent from ALGOL, often following the lead of C's predecessor B, for example using ** { ... } rather than ALGOL's begin ... end ** the equal-sign for assignment (copying), much like Fortran ** two consecutive equal-signs to test for equality (compare to .EQ. in Fortran or the equal-sign in BASIC) ** && and in place of ALGOL's and and or, which *** are syntactically distinct from the bit-wise operators & and | (used by B for both meanings) *** never evaluate the right operand if the result can be determined from the left alone (short-circuit evaluation) ** a large number of compound operators, such as +=, ++, etc. * In early versions of C, only functions that returned a non-integer value needed to be declared if used before the function definition; a function used without any previous declaration was assumed to return an integer, if its value was used. 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; }

In computing, C is a general-purpose, cross-platform, block structured, procedural, imperative computer programming language originally developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system.[2] Although C was designed for implementing system software,[3] it is also widely used for developing application software. It is widely used on a great many different software platforms and computer architectures, and several popular compilers exist. C has greatly influenced many other popular programming languages, most notably C++, which originally began as an extension to C. Like most imperative languages in the ALGOL tradition, C has facilities for structured programming and allows lexical variable scope and recursion, while a static type system prevents many unintended operations. In C, all executable code is contained within functions. Function parameters are always passed by value. Pass-by-reference is achieved in C by explicitly passing pointer values. Heterogeneous aggregate data types (struct) allow related data elements to be combined and manipulated as a unit. C program source text is free-format, using the semicolon as a statement terminator (not a delimiter). C also exhibits the following more specific characteristics: * non-nestable function definitions, although variables may be hidden in nested blocks * partially weak typing; for instance, characters can be used as integers * low-level access to computer memory by converting machine addresses to typed pointers * function pointers allowing for a rudimentary form of closures and runtime polymorphism * array indexing as a secondary notion, defined in terms of pointer arithmetic * a preprocessor for macro definition, source code file inclusion, and conditional compilation * complex functionality such as I/O, string manipulation, and mathematical functions consistently delegated to library routines * a few dozen reserved keywords * syntax divergent from ALGOL, often following the lead of C's predecessor B, for example using ** { ... } rather than ALGOL's begin ... end ** the equal-sign for assignment (copying), much like Fortran ** two consecutive equal-signs to test for equality (compare to .EQ. in Fortran or the equal-sign in BASIC) ** && and in place of ALGOL's and and or, which *** are syntactically distinct from the bit-wise operators & and | (used by B for both meanings) *** never evaluate the right operand if the result can be determined from the left alone (short-circuit evaluation) ** a large number of compound operators, such as +=, ++, etc. * In early versions of C, only functions that returned a non-integer value needed to be declared if used before the function definition; a function used without any previous declaration was assumed to return an integer, if its value was used. 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; }

In computing, C is a general-purpose, cross-platform, block structured, procedural, imperative computer programming language originally developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system.[2] Although C was designed for implementing system software,[3] it is also widely used for developing application software. It is widely used on a great many different software platforms and computer architectures, and several popular compilers exist. C has greatly influenced many other popular programming languages, most notably C++, which originally began as an extension to C. Like most imperative languages in the ALGOL tradition, C has facilities for structured programming and allows lexical variable scope and recursion, while a static type system prevents many unintended operations. In C, all executable code is contained within functions. Function parameters are always passed by value. Pass-by-reference is achieved in C by explicitly passing pointer values. Heterogeneous aggregate data types (struct) allow related data elements to be combined and manipulated as a unit. C program source text is free-format, using the semicolon as a statement terminator (not a delimiter). C also exhibits the following more specific characteristics: * non-nestable function definitions, although variables may be hidden in nested blocks * partially weak typing; for instance, characters can be used as integers * low-level access to computer memory by converting machine addresses to typed pointers * function pointers allowing for a rudimentary form of closures and runtime polymorphism * array indexing as a secondary notion, defined in terms of pointer arithmetic * a preprocessor for macro definition, source code file inclusion, and conditional compilation * complex functionality such as I/O, string manipulation, and mathematical functions consistently delegated to library routines * a few dozen reserved keywords * syntax divergent from ALGOL, often following the lead of C's predecessor B, for example using ** { ... } rather than ALGOL's begin ... end ** the equal-sign for assignment (copying), much like Fortran ** two consecutive equal-signs to test for equality (compare to .EQ. in Fortran or the equal-sign in BASIC) ** && and in place of ALGOL's and and or, which *** are syntactically distinct from the bit-wise operators & and | (used by B for both meanings) *** never evaluate the right operand if the result can be determined from the left alone (short-circuit evaluation) ** a large number of compound operators, such as +=, ++, etc. * In early versions of C, only functions that returned a non-integer value needed to be declared if used before the function definition; a function used without any previous declaration was assumed to return an integer, if its value was used. 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; }

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the uses of C language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does a C developer do?

A C developer designs and writes programs using the C programming language. A C++ developer does the same but uses the C++ programming language. A C/C++ developer uses both C and C++.


What is the language to programming iPhone apps?

Android, Symbian, Blackberry OS (RIM) : java iOS uses OPP-C ( C#/C++)


What is the name of error check technique that uses c language compiler?

Debugging


What are the disadvantages of using c?

There is basically no disadvantage of using a language like C. It depends on the programmer how he uses his skills.


Which GUI desktop is written in the C programming language and uses the gtk toolkit?

Gnome.


Which version of c uses nowadays?

C language doesn't have versions; the latest commonly used standard is ANSI C99.


What language uses a backward C?

The language that uses a backward C is called "Brainfuck." It is an esoteric programming language that uses only eight simple commands to manipulate data. The language's syntax is minimalist and can be challenging to read and write.


Programming languages that control zigbee?

quoting from stack exchange: "Zigbee", or IEEE 802.15.4, is a protocol. As such, it has no "programming language".


Why c language has name c why not a?

C-language was derived from B-language.


What is the difference between ANSI C and C plus plus?

C is a programming language and ANSI is the standardization committee. The C language is under the auspices of the ANSI committee, which monitors the grammar and structure of the language in a standard way that compiler writers must adhere to. ANSI C means that it is a standardized version of the C language according to the rules of the committee and should work/compile the same way on any system that uses an ANSI C compliant compiler.


Write any five uses of c-language?

Programming. Making a livelihood. Sending time. Having fun. Boasting.


What is previous language of c language?

language before c language is pascal