What is the main differences between C and Embedded C?
Answers were Sorted based on User's Feedback
C is for desktop computers, embedded C usually is for
microcontroller based applications.
C use the resources of desktop computers (memory, OS, etc)
Embbeded C use only limited resources available in chip
(limited RAM, ROM, ports, etc).
Embbed C could be a subset of C.
Is This Answer Correct ? | 199 Yes | 16 No |
Answer / dongay
Embedded C is an extension of C
The Extra Features are available in Embedded C are
1. fixed point types
2. multiple memory areas
3. I/O register mapping.
Is This Answer Correct ? | 99 Yes | 22 No |
Answer / swati jawanjal
Embedded c code generates a .hex file while a convention c
code generates a compatible .exe file.
C language uses the desktop OS memory while embedded C uses
the controllers inbuilt or any externally attached memory.
Is This Answer Correct ? | 48 Yes | 11 No |
Answer / 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 |
Answer / dev
C is a widely used general purpose high level programming language mainly intended for system programming.
Embedded C is an extension to C programming language that provides support for developing efficient programs for embedded devices.It is not a part of the C language
C Usually for desktop programming.
embedded C Used for embedded programming.
Can refer below article
http://wikiuncle.com/index.php?title=C_vs_Embedded_C
Is This Answer Correct ? | 26 Yes | 7 No |
Answer / nanthini
Extensions for the programming language C to support
embedded processors, enabling portable and efficient
application programming for embedded systems
Is This Answer Correct ? | 19 Yes | 8 No |
Answer / sai ram
C is for desktop computers, embedded C usually is for
microcontroller based applications.
C use the resources of desktop computers (memory, OS, etc)
Embbeded C use only limited resources available in chip
(limited RAM, ROM, ports, etc).
Embbed C could be a subset of C.
Is This Answer Correct ? | 11 Yes | 4 No |
Answer / dhanasekaran
Normal C finally needs for .exe file
Embedded C for .hex file
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / meena
Embedded c is the combination of Normal c we are using and Assembly lanquage.In embedded c we can get some library file as header file(e.g reg51.h, which will include all the port and register declaration with some more features)
By simply adding this file we are able to work with any port or any register of 8051 MCU.
Is This Answer Correct ? | 21 Yes | 19 No |
please give code for this 1 2 4 7 11 16
can we initialize all the members of union?
What are keywords c?
What is a struct c#?
What are nested functions in c?
Why is sprintf unsafe?
find largest element in array w/o using sorting techniques.
what is Structural oriented language? give some example of this language.....?
define function
how do u find out the number of 1's in the binary representation of a decimal number without converting it into binary(i mean without dividing by 2 and finding out the remainder)? three lines of c code s there it seems...can anyone help
How many data structures are there in c?
what is difference between null and nul in c language