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 ? | 200 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 | 23 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 ? | 49 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 |
Is anything faster than c?
What is a floating point in c?
What is the use of #define preprocessor in c?
What are operators in c?
#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }
What are global variables and how do you declare them?
matrix multiplication fails introspect the causes for its failure and write down the possible reasons for its failurein c language.
How many data structures are there in c?
What should malloc() do?
what is diff between localstatic and globalstatis variable possible 2 use in another file...?
Write a program to swap two numbers without using the third variable?
Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?