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

Which online teaching software is best?
Now a days "GoToMeeting" tool from Citrix is well popular and very healthy feature make them one step ahead over other tools. You can see following few important features for this tool. FEATURES •...
Aditya
I am looking for datastage 8.5 installation in my system for practice let me know where i can get it .
Please refer this link once.. http://www.scribd.com/doc/46695490/Datastage-8-5-Installation-Guide
Susant
What are codes required to create a new operating system?
^^ He is asking about Operating System not windows and for creating Operating System you should have a good knowledge of various complex areas of computer science from hardware to software like OS algorithms,...
Vijay
Give me details about security options in Excel?
In Microsoft Office Excel, you can change the macro security settings to control which macros run and under what circumstances when you open a workbook. For example, you might allow macros to run based...
Vijayalakshmi G M

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

Ask a Question

Related Lessons

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

Python breaks into the top three programming languages in the Tiobe Index for the first time.
Python breaks into the top three programming languages in the Tiobe Index for the first time. The popularity of Python shows no sign of waning, with the programming language entering the top three in...

The ABCs Of Success For A Software Developer
“There is more to know for career advancement rather than focusing on codes and its challenges to become a successful developer”. A developer is the one who creates software application by...

Software Development Training In Jaipur
Satyam Web Solution provides website designing &development and software designing &development training in Jaipur for various stream’s students. MCA 6 month Industrial Training/Internship B....

Easy way to remember Java keyword.
ACCESS MODIFIER ACCESS SPECIFIER abstract, assert, const, final, native, static, strictfp, super, synchronized, this, transient, void, volatile public, private, protected, default DATA...

Rohit Deshbhratar

1 0
0

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