Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Pranjal K.
Competent maths/science problem solver and programmer
Tutor Satisfaction Guarantee
C++ Programming
TutorMe
Question:

What is the role of protected access specifier in inheritance in C++?

Pranjal K.
Answer:

Protected members are accessible in the class that defines them and in classes that inherit from that class.

C Programming
TutorMe
Question:

What is the size (in bytes) of the character string declared below, char a[100];

Pranjal K.
Answer:

The size of primitive data-type char in C programming is 1 byte. A declaration of form char a[n]; declares a string of size n, i.e. a string which can accomodate at most n characters. Looking at the string declaration in the question, we can see that the string 'a' can accomodate a maximum of 100 characters. So, the size of the variable 'a' is, 100*1 byte=100 bytes

Algebra
TutorMe
Question:

Solve the equation for x, 4x+3=2x+5

Pranjal K.
Answer:

Given equation is: 4x+3=2x+5 Subtracting 2x from both sides, 4x+3-2x=2x+5-2x 2x+3=5 Subtracting 3 from both sides, 2x+3-3=5-3 2x=2 Dividing both sides by 2, 2x/2=2/2 x=1

Send a message explaining your
needs and Pranjal will reply soon.
Contact Pranjal
Ready now? Request a lesson.
Start Session
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 Session" 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.