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 |
What are the 4 types of unions?
Can a pointer be null?
What is pointers in c with example?
what r callback function?
Explain high-order and low-order bytes.
What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }
#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }
/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf(); printf("%d",r); getch(); }
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
how to find the kth smallest element in the given list of array elemnts.
how many key words availabel in c a) 28 b) 31 c) 32
Why is event driven programming or procedural programming, better within specific scenario?