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

what is java core language?
Core Java" is Sun's term, used to refer to Java SE, the standard edition and a set of related technologies, like the Java VM, CORBA.. "Core Java" is Oracle's definition and refers to subset of Java SE technologies.
Md
0 0
9
If the class has access modifier with protected then the constructor of that class is public or protected?
Variables, methods and constructors which are declared protected in a superclass can be accessed only by the subclasses in other package or any class within the package of the protected members' class. The...
Sudheer
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
Sir, which is the best software course to be learned for higher salary package and to settle well? As I am B.Tech in EEE branch I have no IT back ground. Please suggestion will be welcomed.
It would be great if you go for SAP in many courses of SAP u did not need to have IT background. And yes its a costlier course. But it will give you higher salary packages once you will clear the course....
Niranjan

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

Ask a Question

Related Lessons

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

History of SQL server
In 1988, Microsoft released its first version of SQL Server. It was designed for the OS/2 platform and was developed jointly by Microsoft and Sybase. During the early 1990s, Microsoft began to develop...

Focus on Fundamentals
It is very important to focus on fundamentals of any subject one is interested to gain command over that subject. If one learns and understand the fundamentals throughly, it is easy to grasp the advance...

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

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