C source code is portable; it can be compiled upon any machine with a suitable C compiler in order to produce the machine-dependant code (the machine code). However, C can also be used to write machine-dependant code, or code that is dependant upon specific platforms. In order to be completely portable, the code must use the C standard library and/or generic libraries.
Machine-dependent (generally called "platform-dependent")
FORTRAN (FORmula TRANslator) is the best-known earliest example of machine independent language. This is where the language is not dependent on the characteristics of the computer. COBAL (COmmon Business-Orientated Language) is the other type of programming language that is machine independent. COBAL was developed by the US Navy for business applications.
compiler is a software translator used in ProgrammingLanguage: C,C++, Java etc ). This used for to translate High level language to Machine independent language. Interpreter is used to translate source code to machine code by line by line.
It is not possible to explain the computing environment in terms of a high-level programming language because the language is independent of the machine; it is the machine that defines the computing environment not the language. With high-level languages like C, the exact same source code can be compiled on any machine regardless of its computing environment. Note that the language itself is merely an abstraction; it allows us to express computations in a machine-independent manner. The implementation of the language is actually defined by the language compiler. Each machine type requires its own independent implementation, although a single compiler implementation can cater for a family of processors sharing a common architecture (such as 32-bit and 64-bit variations of the same architecture). The C language standard defines how computations should be expressed in the language itself, but it is the compiler's job to interpret these expressions such that every machine performs the computations as efficiently as the hardware will allow and produces consistent results regardless of the computing environment.
Many programming languages allow programs to be portable from one kind of computer to another, including* the C programming language* Pascal* Forth* C++* Java* Pythonand many others. Yes, the C programming language was designed to encourage machine-independent programming.The C programming language is portable to more CPUs than any other programming language.
Programming in C++ means designing and writing a computer program using the C++ programming language. C++ is a high-level, machine-independent language which must be converted into machine-dependent code by a compiler.
The platforms contain the libraries it uses. The libraries may have different implementations on different machines.
C is a independent language
Machine-dependent (generally called "platform-dependent")
Yes.
FORTRAN (FORmula TRANslator) is the best-known earliest example of machine independent language. This is where the language is not dependent on the characteristics of the computer. COBAL (COmmon Business-Orientated Language) is the other type of programming language that is machine independent. COBAL was developed by the US Navy for business applications.
compiler is a software translator used in ProgrammingLanguage: C,C++, Java etc ). This used for to translate High level language to Machine independent language. Interpreter is used to translate source code to machine code by line by line.
It is not possible to explain the computing environment in terms of a high-level programming language because the language is independent of the machine; it is the machine that defines the computing environment not the language. With high-level languages like C, the exact same source code can be compiled on any machine regardless of its computing environment. Note that the language itself is merely an abstraction; it allows us to express computations in a machine-independent manner. The implementation of the language is actually defined by the language compiler. Each machine type requires its own independent implementation, although a single compiler implementation can cater for a family of processors sharing a common architecture (such as 32-bit and 64-bit variations of the same architecture). The C language standard defines how computations should be expressed in the language itself, but it is the compiler's job to interpret these expressions such that every machine performs the computations as efficiently as the hardware will allow and produces consistent results regardless of the computing environment.
Many programming languages allow programs to be portable from one kind of computer to another, including* the C programming language* Pascal* Forth* C++* Java* Pythonand many others. Yes, the C programming language was designed to encourage machine-independent programming.The C programming language is portable to more CPUs than any other programming language.
we can say c,c++ also.. but not sure..
A programming language is a language in which a human can tell a machine to do something, three examples include: C, C++ and C#.
no