What is the main differences between C and Embedded C?

Answer Posted / kirit vanani

#1 C is a type of computer programming language.
While embedded C is a set of language extensions for the C Programming language.

#2 C has a free-format program source code, in a desktop computer.
while embedded C has different format based on embedded processor (micro-controllers/microprocessors).

#3 C have normal optimization, in programming.
while embedded C high level optimization in programming.

#4 C programming must have required operating system.
while embedded C may or may not be required operating system.

#5 C can use resources from OS, memory, etc, i.e all resources from desktop computer can be used by C.
while embedded C can use limited resources, like RAM, ROM, and I/Os on an embedded processor.

#6 Compilers for C typically generate OS dependent executable. i.e you can run program from OS terminal directly.
While, embedded C requires compilers to create files, and downloaded to the processor, (microcontrollers/microprocessors) where it needs to run.

#7 C programing run in console, i.e you can see output, in your OS (desktop).
while, embedded C run in real time constraints. i.e you can't see output in OS.

#8 C has directly or indirectly influenced a lot of the later programming languages,
such as C#, D, Go, Java, JavaScript, Limbo, LPC, Perl, PHP, Python, and Unix's C shell.
While, Embedded C support only required processor.

#9 In C programming we can easily input program data, when running.
While, embedded C have pre-defined data, that have been given while programming.

#10 Example of C program is, OS based software, simple logic program, etc.
example of embedded C is TV, DVD, washing machine, etc.

Is This Answer Correct ?    32 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the process to create increment and decrement stamen in c?

813


What is header file in c?

853


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

924


What is break statement?

876


What is derived datatype in c?

848


Explain what is meant by 'bit masking'?

895


Between macros and functions,which is better to use and why?

1825


using for loop sum 2 number of any 4 digit number in c language

2010


What is the difference between if else and switchstatement

1590


What are terms in math?

812


How do I get a null pointer in my programs?

860


What do you mean by command line argument?

854


Explain high-order and low-order bytes.

890


Which are low level languages?

859


how to execute a program using if else condition and the output should enter number and the number is odd only...

1962