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 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 in Truncate and Delete in SQL?
There are lot of differences between DELETE and TRUNCATE statements in SQL Server. All these difference are listed below--- DELETE ----> 1. DELETE is a DML Command. 2. DELETE statement is executed...
SEED Infotech Ltd
How to Create new nonsys(not sa) user login with openrowset function priviledges ? I want to read/write excel sheet through nonsys(or non sa) user
INSERT INTO table SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0; Database=//server/folder/file.xls; HDR=YES;', 'SELECT * FROM ')
Amit
0 0
6
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
what is cloud computing exactly? why it is more popular today?
Hi Bavya, Cloud computing means that instead of all the computer hardware and software you're using sitting on your desktop, or somewhere inside your company's network, it's provided for you as a service...
Shailaja K.

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

Ask a Question

Related Lessons

Programming Practice Technique
Any Programming Language required an Algorithm. Algorithm - It is the finite set of instructions in which each and every instruction has the meaning, instructions are not ambiguous and all the instructions...

Graphics and Game Development
Hi there, I am sure you all would have played video games for killing time. Do you know how these are developed? I am going to introduce you to some details of the gaming industry. Gaming is a serious...

10 Study Tips to Achieve your Goals
This is particularly true of students that are looking to make the most of their study time and get better grades at Organization. 1. Set Study Goals: There is lots of credible research suggesting that...

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

SQL is not a Rocket Science
I am a Professional and at the inital days I completely hate Databases but I forgot to know that "Everything starts and ends with us".It means the INTEREST starts with us. Everybody knows this but none...

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