UrbanPro

Learn Computer Software from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

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 Applications professional

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

IT Trainer

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

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
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
Hi, I am working as a web designer and want to work as UI developer. So what should I have to learn initially? And learning Angular Js would be a good option?
It is good choice web designer to become web developer (UI developer). Start with the basics first learn HTML and CSS, Then go and continue with bootstrap and Angular js.
Mudita
why arrey is used?
In computer science an array is a data structure consisting of a group of elements that are accessed by indexing. Arrays are used to implement mathematical vectors and matrices, as well as other kinds...
Naval

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

Ask a Question

Related Lessons

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...

For All The New Developers
Language to use: Any language that you are learning. Interface: Web or Desktop Function: Simple calculator (9 digits + symbol) with 1 Memory storage with possible function of + - * / Error Handling...
R

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...

Learn Conceptually
Whenever you try to learn something, understand the concepts well. This will not only fix the idea in your mind but also help you comprehend the process.
S

Shweta Chauhan

0 0
0

Essential SQL Tips For Developers And For MS SQL DBA
10 Essential SQL Tips for Developers: SQL is yet another essential language for developers wishing to create data-driven websites. However, many developers are unfamiliar with various aspects of SQL;...

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
X

Looking for Computer Software Classes?

The best tutors for Computer Software Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Computer Software with the Best Tutors

The best Tutors for Computer Software Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more