answersLogoWhite

0


Best Answer

C and C++ allow access to low-level concepts such as pointers and manual memory allocation. It also runs on a wide variety of operating systems and architectures.

For example, an int on a 32-bit machine is usually 4 bytes, but on a 64 bit machine it may be 8 bytes.

Whether or not this matters depends on what tricks the programmer is playing. If a portion of the code relies on ints being 32 bits, and it's, say, 56 bits on your machine for some bizarre reason, that code may not work properly.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why certain features of C plus plus may be version and machine dependent?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is this native code and what is difference between native code and machine code?

They are the same thing. Every machine type has its own version of machine code, the native language of the machine (native machine code). All high-level code must be converted to native machine code before it can execute. Machine code is machine dependent but high-level code is generally machine-independent, thus the same source code can generally be converted to suit any type of machine using a suitable compiler or interpreter.


Why is assembly level language non portable?

Because machine language itself varies across systems. For example, machinecode for a x86 is totally different from machinecode for a PowerPC. This is why we need compilers and assemblers, so that the same higher level code can be translated into lower level code for various architectures.


Examples of machine language?

Machine code is the ONLY example of machine language. However, every machine architecture has its own version of machine code; it is the native language of the machine. If you want to examine machine code upon your own machine, use a hex editor. This will show you every byte of the code in hexadecimal form.


What is a java lang unsupported class version error?

This is an error you receive when your Java Virtual Machine or JVM attempts to read a file but the version numbers are not supported. This can happen in cases where your version of JVM is higher than the version used for that file.


How has HTML changed?

HTML has changed a lot from it's first version to the latest. A number of multimedia features are added while some are depreciated.

Related questions

Is the machine language machine dependent?

Machine code is machine-dependant because every machine architecture has its own version of machine code. The code is non-portable because only the machine for which the code was intended will be able to understand it.


Distinct features of each version of cad?

what features of each version of cad?


This is the full retail version with all features.?

This is the full retail version with all features.


How do you know what version is your minecraft is on xbox?

By looking at the xbox version or pc equivelent version you can use the link if you have it up to date. If you have an older version of mcxbox then look for key features that are missing and/or present, e.g pistons, or certain bugs that are easy to replicate.


Is multiprocessing is the feature of Mac?

Only in certain macs. The newest version of the Mac Pro (a desktop) features multiprocessing functions with Intel Quad processor.


What does full version mean?

Full version of something means that that version as all the features of that specific object. sometimes there are trial version or demo which are not complete or lack some features unlike the full version which includes all the features. source: my brain name: Boubacar Barry


What features do the RT version of Dodge Charger cars have?

There are many features that the RT version of the Dodge Charger has. Some are safety features, such as airbags and brakes. There are also features like GPS that are helpful.


What is this native code and what is difference between native code and machine code?

They are the same thing. Every machine type has its own version of machine code, the native language of the machine (native machine code). All high-level code must be converted to native machine code before it can execute. Machine code is machine dependent but high-level code is generally machine-independent, thus the same source code can generally be converted to suit any type of machine using a suitable compiler or interpreter.


What are the features of Yahoo Australia?

The Australian version of the website Yahoo features the same features that the American version of Yahoo does except in an Australian context. There are also other versions of Yahoo for other countries.


How do you get blackhole in animalkaiser?

Well first you need to find out what version is your anima kaiser machine is if your animal kaiser machine is version 3 then you can play and you have a chance to get it


Why is the new Google nexus 7 better than the previous version?

The Goolge Nexus 7 is better then the previous version because it has up the latest and greatest features. It also features the newest version of Android.


What features does Access have to help validate data?

You can set a fields validity test to expect certain things. I.e. the format of a date you may want the UK version of dd/mm/yyyy rather than the US version of mm/dd/yyyy