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 header file definition?

564


What is difference between function overloading and operator overloading?

651


How is pointer initialized in c?

581


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

1539


What does 2n 4c mean?

710






What is structure of c program?

599


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2264


What does struct node * mean?

595


Where static variables are stored in c?

581


Is return a keyword in c?

594


Which is better oop or procedural?

627


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

1992


What are the different types of errors?

635


Where local variables are stored in c?

554


What is the size of a union variable?

596