answersLogoWhite

0

C language is machine dependent

Updated: 11/4/2022
User Avatar

Wiki User

14y ago

Best Answer

Yes c is a complete machine dependent language as the memory allocated to its various variables having various data types is different.

For example in some compilers the memory allocated to the char data type is 1 byte but in many compilers it may be 2 bytes also>>>

thanks

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago
Some are dependent and some are platform independent.

Machine language is generally machine dependent, as it varies from process to processor. Processor models within the same family can share a common pool of machine language instructions, which could be seen as a limited form of machine independence.

However, virtual machine language such as those used in the .NET or Java platforms are designed to be subject to runtime interpretation and runtime "just-in-time" compilation. These languages are designed for machine independence, as they do not generally depend a specific processor hardware.
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: C language is machine dependent
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is the C language machine dependent or not?

Machine-dependent (generally called "platform-dependent")


What is programming languages in c plus plus?

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.


Is c a dependent language?

C is a independent language


Is machine language a programming language?

Actual Machine level language is binary language, which contains only '0' & '1 ' and it's the extreme besic of a computer's instruction. Then comes low level language, like assembly language and so on.


Why c plus plus is platform dependent?

C++ is not platform dependent. The implementation is, but not the language.


Why is Unix portable?

Unix was rewritten in the C Programming language and not in assembly language. The migration from assembly language to the higher-level language C resulted in much more portable software, requiring only a relatively small amount of machine-dependent code to be replaced when porting Unix to other computing platforms. (mihir)


What is the main limitation for machine code and assembler language?

Platform-dependent.


Why c and c plus plus programs can not work on all platforms?

C and c++ programs can work on all plate form if they do not have machine dependent code.The executable files of these can not work no different plate forms because they have machine dependent information and if machine changes the information will become meaningless .


Is assemmbly language machine dependent If so then why.?

Yes! assembly language is machine dependent. Because program are written by means of memory and register on computer thats are very effective, and also have not high level skill in the program.


Types of programming language that is machine independent?

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.


What is the programming language that is one step above the machine language?

we can say c,c++ also.. but not sure..


What is a programming language and with three example?

A programming language is a language in which a human can tell a machine to do something, three examples include: C, C++ and C#.