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
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What is the equivalent code of the following statement in WHILE LOOP format?
how to capitalise first letter of each word in a given string?
Explain what is the general form of a c program?
When c language was developed?
When should I declare a function?
Differentiate between new and malloc(), delete and free() ?
What are the advantages of c language?
What are the different data types in C?
Are pointers integer?
Write a program to print all permutations of a given string.
What are the 32 keywords in c?
Explain what is the difference between text files and binary files?
Explain the use of fflush() function?
What happens if you free a pointer twice?