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 |
Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.
Define function pointers?
Write a program to interchange two variables without using the third variable?
17 Answers Accenture, College School Exams Tests, Infotech,
What is the relation between # and include<stdio.h>
What is storage class?
What extern c means?
write a program to display the numbers having digit 9 in the given range from 1 to 100
Explain how does free() know explain how much memory to release?
What are volatile variables in c?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
how to display 2-D array elements in spiral
Why is a semicolon (;) put at the end of every program statement?