In what scenarios can C++ be preferred over C in embedded systems development?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

Tutor

In embedded systems, C++ files are usually having a .cpp extension and this is written in C++ language. .cpp files contain function and terminologies of the header files .h also written in C++ language. It is normally the programming IDE editor where the language written is in 'embedded C' and this is...
read more
In embedded systems, C++ files are usually having a .cpp extension and this is written in C++ language. .cpp files contain function and terminologies of the header files .h also written in C++ language. It is normally the programming IDE editor where the language written is in 'embedded C' and this is done because it is easier to read than the above 2. The main programming file should be easy to read. Period. -Ashwin Shreshta shreshtsolution(at)gmail(dot)com I offer online classes on a schedule. read less
Comments

Trainer

Tow point are are important when you are writing code for embedded systems .First is your code size should be minimum and second is your code should be readable. Using C++ you can achieve both. That's why many developer use C plus plus language .
Comments

Related Questions

What is the meaning of \n and \t in C language?
is new line and \t is for tab
Profile Photo
Priya
0 0
View Comments5
What is a pragma?
In computer programming, a directive pragma is a language construct that specifies how a compiler should process its input. The ' #pragma ' directive is the method specified by the C standard for providing...
Profile Photo
Anil
How and where do I start learning C programming?
To start learning C programming, you can follow a structured approach that includes both theoretical knowledge and practical implementation. Begin with understanding the basics of C, including variables,...
Profile Photo
Gaurav
0 0
View Comments7
Is C language the base for learning C++?
No. C and C++ are two different languages. All most all modern languages are influenced by C language. But we can learn C++ directly without learning C language.
Profile Photo
Swathi
0 0
View Comments8
What exactly is \r in the C language?
In the C language, "\r" represents the carriage return character. When encountered in a string, it instructs the output device to return the cursor to the beginning of the current line. This character...
Profile Photo
Sajini
0 0
View Comments5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Storage classes in c
Storage classes determine the scope and life time of a variable. Scope is defined as the region over which the defined variable is accessible. Lifetime is the time during which the value of a variable...
Profile Photo

Memory Layout of C Programs
A typical memory representation of C program consists of following sections. Text Segment: A text segment, also known as a code segment or simply as text, is one of the sections of a program in an object...
Profile Photo


C-Program Swapping Contents Of Variables Using Function [Call By Reference Method]
//Header Files #include#include // User defined functions swap with 2 pointer variables passed as an argument list void swap(int*i,int*j){ // Local variable temp int temp; // swapping contents using...
Profile Photo

Why C is a Language and not a database?
When I interviewed a candidate, I raised this question many times, but I have not got the answer correctly. To under why C is a language and not a database, it is good to understand why our communication...
Profile Photo

Recommended Articles

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you