C machine independent Programming Language? C is portable . Means What?

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

Well very debatable topic. All languages are finally converted to machine language. So it can run on any machine. But remember c is not portable in the sense if you have compile a c code say on UNIX it cannot work on Windows and even across same os flavours. So let's not say it's independent or so.
Comments

It can work on various hardware configuration . C doesnt require mandatory or same set of hardware to run program. A program can written on one comp. And can run on other comp.(machine)
Comments

Software Wizard

It means, C programming language can be used to write a program on any operating system like windows,linux etc as simple as that. Other thing to note here is the C program is not platform independent.
Comments

B.E.

C is NOT a Machine Independent Language. The compiled are different for different OS even written programmer are same. It create different executable binary as per OS and processor Architecture. That's why compiled C code can not be executed another machine unless OS and processor Architecture are...
read more
C is NOT a Machine Independent Language. The compiled are different for different OS even written programmer are same. It create different executable binary as per OS and processor Architecture. That's why compiled C code can not be executed another machine unless OS and processor Architecture are same. There are few cross compiler which compiles the code for another machine. The cross compiler is used develop program for embedded systems. On the other hand JAVA is machine independent language. JAVA compiled code (called byte code) can be run on any machine. read less
Comments

Creative Minds Trainer

C is machine dependent language in spite of this it is highly portable here it means we use same C code with different Platform dependent compiler.
Comments

Computer Teacher Expert in Programming

C is portable means that you have no need to change the programming when you are running the C Program on different platforms (Operating systems).
Comments

Computer science professional and motivational teacher

C is machine independent language because c programs can be executed on any operating system and its portable because we can copy the code to any operating system via secondary storage and execute it.
Comments

C programming language is used to write code that will get converted to machine code . The C compiler takes care of converting the C source code to processor specific machine code. C Compilers are specific to a Operating System and the corresponding processor architecture. With the vast variety of C...
read more
C programming language is used to write code that will get converted to machine code [ processor instructions ]. The C compiler takes care of converting the C source code to processor specific machine code. C Compilers are specific to a Operating System and the corresponding processor architecture. With the vast variety of C compilers, it is now almost common to find a C compiler for almost any combination of Operating system and processor architecture. This helps us to write C code once, but get it easily compiled on any Operating system. Only in this sense, is C considered a machine independent Programming language. Since, the C syntax is completely independent of the processors instructions. C is considered a portable language, but in practice is not easily portable. If you write a C program on Windows platform that accepts 2 numbers and gives the sum of these 2 numbers, it can very easily be compiled on a UNIX machine without any changes to the code. This code is now called "Portable code", since it can be easily ported from one Operating system to another. This may not be true, if the C code that we wrote on a Windows machine uses libraries or functions that are specific to Windows only. Ex : C code that includes dos.h header file that is not available on UNIX. To get this code compiled on a UNIX machine, this C program should now be made to handle a scenario where dos.h may not be available on the system at compile time. So, this becomes a tough task, though not impossible. Here we see that C is not very portable like any other high level language like Java or Python, which have very simple ways of tackling such scenarios. read less
Comments

Computer Teacher Expert in Programming

If you have prepared a program in C on Windows platform. Now you want to run this program in DOS or linux or other platform then you can run this program without editing. This is the main concept of platform independence. When you will change the OS then this program will run as such.
Comments

Experienced IT Trainer with 17 years of experience in IT Industry

Machine independence of C is that you compile the same source code in different machines and get different assembler code specific to that type of machine. So your source code is the same. (Actually for very long programs, especially in low level ones, you may write code specific to the architecture,...
read more
Machine independence of C is that you compile the same source code in different machines and get different assembler code specific to that type of machine. So your source code is the same. (Actually for very long programs, especially in low level ones, you may write code specific to the architecture, so it no longer becomes portable). Even in different compilers your code will behave differently if you use non-standard features. Because of that I never consider C much portable. Java is simply much much much more machine independent than C. read less
Comments

View 24 more Answers

Related Questions

Are there any free online certification courses available or not?
Actually your question is wrong, first decide which certification you need, Then get some working experience, prepare for certification. For the free certification, i never seen any authenticated certification...
Chaganti
How to create dynamic charts in Excel?
If the source table can grow automatically to include the data in the Chart automatically, then that is called a DYNAMIC CHART. Say, if you have included Jan to Apr month values in Chart and later try...
Vijayalakshmi G M
which course do u suggest me to do to get placed in IT. Im a 2008 graduate.
Definitely any of the programming languages. To the most of it, learn generic skills most common to all of those in the market.. Whether Java, DotNet whatever. Master the frameworks in it.
David
What is the difference between Paste and Paste Special Option in Excel?
Paste is a feature that lets users cut or copy items from a Cells and transfer them to another. Paste Special allows the items being transferred to be formatted in several different ways. Paste Special...
Vijayalakshmi G M
How does memory allocation is occurred during executing a simple C program .??
Segment Description Code - text segment Often referred to as the text segment, this is the area in which the executable or binary image instructions reside. For example, Linux/Unix arranges things...
Arnab

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Efficient Learning Strategies
Type your notes after class Write your notes onto flashcards - Scrabble -Make posters Review flashcards while walking, at gym, etc. Dog-ear pages in the reading where you can find...

Merge Multiple PST Files into One Using PST Merge Tool
Overview of PST Merge Software The PST Merge is a software which merge multiple PST files into a single PST file. It makes sure that when PST files are merged into a new file, the original PST files should...

How Motivation Affects Learning and Behavior
Motivation directs behavior toward particular goals. Motivation leads to increased effort and energy. Motivation increases the amount of effort and energy that learners expend in activities directly...

C and C++ programming with memory level debugging
Understanding C and C++ programming by using memory level debugging. Step 1: Understand the Memory map of C executable Step 2: Start memory level debugging using popular IDE Step 3: Find the memory...

Antivirus is not enough. Cyber criminals hate us. We protect from attacks that antivirus can't block. 
Engineering and internet encouraged the conception and development of network indecencies like virus, antivirus, hacking and ethical hacking. Hacking is a practice of adjustment of a computer hardware...

Recommended Articles

MCTS Certification in India The Microsoft Certified Technology Specialist or MCTS certification is suited for professionals who want to get into profession of implementing, building, troubleshooting, and debugging a particular Microsoft technology. The MCTS certification can give you a clear edge over others to showcase...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Whether you are using a laptop or a desktop, the mouse surely takes up time. Imagine if you could alone manage with the keys and not have to move your hands around the mouse? That would have been faster and so much time-saving. For example, Control + Z for undo or Control + Y for redo, definitely saves time when we are...

Read full article >

Decades back, when computers were being introduced in office premises, PPT was a new terminology that all employees tried to learn. Now PPT has made its way far away from offices and is an integral part of schools, colleges, and several other official proceedings. This is because PPT is an user-friendly computerized method...

Read full article >

Looking for Computer Software Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you