Enable contrast version

Tutor profile: Karl D.

Inactive
Karl D.
Principal Embedded Firmware Engineer
Tutor Satisfaction Guarantee

Questions

Subject: C++ Programming

TutorMe
Question:

Does a C++ compiler generate smaller code than a C compiler on embedded systems? Which should I use?

Inactive
Karl D.
Answer:

Generally, both will produce approximately the same size code. One should take in to account if other firmware engineers in their team understand C++.

Subject: C Programming

TutorMe
Question:

What does the keyword "static" mean in C?

Inactive
Karl D.
Answer:

The meaning of the keyword "static" has different meanings depending on its usage. When applied to a variable declared outside of a function: The variable can be accessed by any function within that file, but not by any other file. When applied to a variable declared inside of a function: The variable can be accessed by only by that function and the variable's contents will be remain even when the function returns and is called again. If the variable is initialized in the declaration, it will be only initialized the first time the function is called. When applied to a function, that function can only be called by other functions within that file.

Subject: Assembly Language

TutorMe
Question:

Is assembly language more efficient than C?

Inactive
Karl D.
Answer:

In some cases assembly language will execute more efficiently (result in a smaller hex file) than code generated with a C compiler. However, one also has to be aware of which is more efficient for a company to maintain and for other engineers to read the code. Most of today's C compilers will generate code that is on par with assembly code and sometimes even better.

Contact tutor

Send a message explaining your
needs and Karl will reply soon.
Contact Karl

Request lesson

Ready now? Request a lesson.
Start Lesson

FAQs

What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Lesson" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.
BEST IN CLASS SINCE 2015
TutorMe homepage
Made in California by Zovio
© 2013 - 2021 TutorMe, LLC
High Contrast Mode
On
Off