Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How is source code different from object code?
Home
C Plus Plus
How is source code different from object code?
0
votes
asked
Jan 12
in
C Plus Plus
by
GeorgeBell
How is source code different from object code?
c-interview-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 12
by
GeorgeBell
Source Code
Object Code
Source code is generated by the programmer.
object code is generated by a compiler or another translator.
High-level code which is human-understandable.
Low-level code is not human-understandable.
Source code can be easily modified and contains less number of statements than object code.
Object code cannot be modified and contains more statements than source code.
Source code can be changed over time and is not system specific.
Object code can be modified and is system specific.
Source code is less close to the machine and is input to the compiler or any other translator.
Source code is more close to the machine and is the output of the compiler or any other translator.
Language translators like compilers, assemblers, and interpreters are used to translate source code to object code.
Object code is machine code so it does not require any translation.
Related questions
0
votes
Q: What are dangling pointers? How are dangling pointers different from memory leaks?
asked
Jan 6
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: What are different types of decision control statements in C?
asked
Jan 6
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: Is it possible to access a global variable from a block where local variables are defined?
asked
Jan 6
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: How to convert a string to numbers in C?
asked
Jan 11
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: What are loops and how can we create an infinite loop in C?
asked
Jan 11
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: Can you tell me how to check whether a linked list is circular?
asked
Jan 7
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: How can you remove duplicates elements in an array in C Programming?
asked
Jan 6
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: How can a number be converted to a string in C, explain with example.
asked
Jan 4
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: How can a string be converted to a number?
asked
Jan 4
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: What is the difference between getc(), getchar(), getch() and getche().
asked
Jan 12
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
...