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 |
Write a program to print distinct words in an input along with their count in input in decreasing order of their count..
5) Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.without using big int and exponential function
What is the purpose of clrscr () printf () and getch ()?
Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001
Please write me a program to print the first 50 prime numbers (NOT between the range 1 -50)
How will you declare an array of three function pointers where each function receives two ints and returns a float?
how to find a 5th bit is set in c program
Where is c used?
How do you override a defined macro?
plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .
WAP to accept first name,middle name & last name of a student display its initials?
Tell me is null always defined as 0(zero)?