Learn C++ From Interview Questions
Learn C++ From Interview Questions, available at $49.99, has an average rating of 4.3, with 122 lectures, based on 55 reviews, and has 414 subscribers.
You will learn about The Audience will be well versed with the understanding of C++ Programming Concepts and Terminologies This course is ideal for individuals who are Anyone who is interested in learning C++ Concepts It is particularly useful for Anyone who is interested in learning C++ Concepts.
Enroll now: Learn C++ From Interview Questions
Summary
Title: Learn C++ From Interview Questions
Price: $49.99
Average Rating: 4.3
Number of Lectures: 122
Number of Published Lectures: 122
Number of Curriculum Items: 122
Number of Published Curriculum Objects: 122
Original Price: $19.99
Quality Status: approved
Status: Live
What You Will Learn
- The Audience will be well versed with the understanding of C++ Programming Concepts and Terminologies
Who Should Attend
- Anyone who is interested in learning C++ Concepts
Target Audiences
- Anyone who is interested in learning C++ Concepts
Welcome to the Course ” Learn C++ From Interview Questions “
This course is from a software engineer who has managed to crack interviews in around 16 software companies.
Sometimes, life gives us no time to prepare, There are emergency times where in we have to buck up our guts and start bringing the situations under our control rather then being in the control of the situation. At the end of the day, All leave this earth empty handed. But given a situation, we should live up or fight up in such a way that the whole action sequence should make us proud and be giving us goosebumps when we think about it right after 10 years.
We observe in quite a lot of interviews that most of us find it quite confusing (at the moment) to answer basic questions like the format of the a.out file, not having a clear understanding of the distinction between protected and private data members of the class, finding it difficult to create static libraries and dynamic libraries, not knowing that is there is really a difference between static and dynamic libraries, confusion in the usage of different combinations of dynamic memory allocation and free calls like new, delete, malloc and free , unknown about the difference between up casting and object slicing, thinking that the concepts of function templates and template functions are similar.
The basic problem is here even though most of us are good at concepts, We get confused while answering when we come across a tricky question. As we all know, these tricky questions are simpler ones which are twisted and turned while asking them in the interviews. This is just to confuse the candidate in order to check whether the candidate really has a strong hold on the concepts.
Here in this course, We have tried an approach where in we are trying to make our audience understand the concepts of c++ through tricky interview questions.
This course is designed for almost 7.5 hours and a preview of 30 mins. Please go through the c++ questions dealt and the preview of the course. If you are interested, Kindly enroll in the course.
Kindly adjust the talking speed in accordance to your convenience (Please set the course narration speed to 1.24x on your conveniencce.). The concepts are presented in Neutral English.
As per Udemy Policy, you can always refund if you want to withdraw from the course at any point of time.
The Questions handled in the course is as follows:
Where are the function declarations found
Where are the function definitions found
After compilation, are the function definitions found in a.out file
In static library, are the library files part of the executable file (a.out)
In dynamic library, are the library files part of the executable file (a.out)
What is the full form of a.out
What is the format of a.out file
Is reference a constant pointer
What happens when a reference variable is re-assigned a value from another variable
What happens when a reference variable is used with & and is re-assigned a value from another variable
What is the difference between a reference and constant pointer
What is the advantage of a reference over a pointer
How does a reference to a reference work
In the given program, convert all the const pointer statements to references
Explain the below statements:
int *const p;
const int *p;
const int * const p;
int const *p;
What is the difference between the operators (&) and (&*) when used in the context of pointers
In C++, is it mandatory to name a structure or a union
Is the life time of a locally declared reference limited to the function in which it is declared
Declare the following:
an array of 5 integers
an array of 5 pointers
a pointer to an array of 5 integers
a reference to an array of 5 integers
Is it possible to create an array of references
Can we have multiple definitions of a function in a single module
What is the difference between declaration and definition of a variable
Define a structure which contains a member function to add 2 of it’s data members and print the result
Does a pointer to a variable act like a constant reference OR Does a reference to a variable act like constant pointer
A reference can point to different variables but a variable can’t be tied to multiple references
Does scope resolution operator help us in retrieving only the value of global variables whose identifier names are similar to the local variable names
What is the difference between the below two statements:
a constant reference
reference is a constant pointer
Can we call a pointer ( which points to a read only string ) as a constant pointer
Do we get a lvalue error in an assignment statement where a function call is placed on the left hand side of the assignment operator
Are there only 2 ways to pass variables to a function ?
Does passing arguments by reference really advantageous
Is static variable intermodular or intramodular
Are Inline functions similar to macro definitions
Function overloading is asking the same function to perform different tasks in different contexts of the program
Name mangling is the concept where a name management database is used to maintain different global variables across different modules
Can we overload the function to accept an char value and an char reference
Suppose I have a structure having data members. I create 2 structure objects. Can I add 2 structure objects which automatically will take care of adding the data members of the 2 objects of the structure
Can we increment the data member of the structure through the structure object using the ++ operator
Operator overloading is programming the operator to perform a different function
In function overloading, Is name mangling concept applied on both function definitions and declarations
Is name mangling concept taken care for all the functions irrespective of whether the function is overloaded or not
Function overloading is differentiating the function( with same names) based on their return type
Can A function be overloaded only once
We will get a compilation error, if we overload –operator to perform incrementation
Macros perform typechecking of the arguments passed to macro functions
What is a class and a object
Is it true that A constructor is not a mandatory function in a class
Is it true that A destructor function is automatically called when the object of the class is constructed
Is it true that when Malloc allocates memory dynamically when creating an object of the class, it also calls the constructor
Is it true that when New allocates memory dynamically when creating an object of the class, it doesn’t call the constructor
Is it true that when Delete operator calls the destructor function of the class when the object is being destroyed
Is it true that when Free function can be used to free the memory which is dynamically allocated by using the new operator
Is it true that when Delete operator can be used to free the memory which is dynamically allocated by using the new operator
Can A public data member of the class can be accessed from anywhere with in the class or from outside the class
Can A private data member of the class can be accessed by the class object from outside the class
Can A member function of the class can be made private
Can A public member function of a particular class can be called by the object of the class from outside the class
Can A private member function cannot be called directly by the object of the class from outside the class
Can I alter the private data member of the class from outside the class
Is it true that A static member function can be accessed only by the class name from outside the class
Can a static member function change the data member value belonging to a particular object
Can a constructor of a object initialize the static data member of the class
Can a normal member function change modify the static data member of the class
What is the difference between a static member function accessing the static data member and a normal member function accessing the static data member
Can we modify a publicly declared static data member from outside the class
Can one class contain an another class in it
Create an array of 3 objects and initialize them
Is it logical to initialize the data members in the class when the class is created
Can we initialize the public const data member of the class from outside the class
Can one class have an other class’s object declared in it’s private section
Can we create an object of an anonymous/nameless class
Does an overloaded assignment operator get’s called by default when one object is assigned to the other object
Does an overloaded ‘+’ operator get’s called by default when one object is added with another object
Can we assign an integer value to an object
Explain the concept of this pointer
Is it true that the member functions can only access the data members related to class
Can we create a static object
Can we have a const member function
Is there any difference between assignment operators and copy constructors
Which function get’s called when an object is passed to a function or returned from a function by value
Is it true that If a derived class is privately derived from a base class then the protected and public data members of the base class will become private for the desired class
Is it true that If a derived class is protectedly derived from a base class, then protected and public data members of the base class will become protected for the derived class
Is it true that If a derived class inherits privately all public members of the base class, the public member of the base class will become private for the derived class
Continued from the above statement, can we make some of the members of the base class to be accessible from outside the derived class
Is the size of the base class is equal to the sum of the sizes of the data members of the base class and the derived classes
Is it true that multiple inheritance is similar to multilevel inheritance
Can we derive a child class from a base class even before the base class is defined
A derived class is derived publicly from the base class. The derived class has got a member function which overrides the member function
defined in the base class . Is it true that the member function of the base class will be called by an object of the derived class
Is it true that the base class can access the public members of the derived class
Is it true that When a class is publicly derived from a base class, then the private members of the base class is not accessible from outside the derived class, but the public and protected members are accessible from outside and inside the member functions of the derived class
Is it true that When a class is privately derived from a base class, the protected and public members of the base class will become private for the derived class
Is it true that When a class is protectedly derived from a base class, then the protected and public members of the base class become protected members of the derived class
Is it true that The object of the derived class can access the private and protected members of the base class from outside the derived class
Is it true that a virtual function without the expression = 0 added to the declaration can’t be overridden
Is it true that An abstract class is something where in the derived class can’t override the member functions of the base class
Is it true that we can’t have a pointer to an abstract class
Is it true that The normal functions are resolved at run time
Is it true that the virtual table contain the address of virtual functions
Is it true that The address of the derived class object can’t be stored in a base class pointer. This leads to a compilation error
Is it true that Virtual functions don’t support polymorphism
Can a derived class pointer can call the virtual function defined in the base class
Is it true that The virtual function table is shared across different objects of the class
Is it true that The this pointer contains the address of the object where as the object contains vptr which in turn holds the address of the virtual table
Can we have a pure virtual constructor and destructor functions
Is it true that An abstract base class is something which doesn’t contain a pure virtual function
Is it true that An abstract class doesn’t need a constructor
Is it true that The ‘has a’ is a concept where in when a class is derived from another class, it is said to a type of it’s base class
Is it true that The ‘kind of’ relationship is something where in one class will have an object of another class created in it
Can we use the explicit keyword along with the constructors to prevent implicit conversions
Is it true that The data member of the const object can be changed using the mutable keyword
Is it true that a friend function of a class can never access private data of a class
Is it true that a friend function should mandatorily a member function of the class
Is it true that Forward referencing is a concept where in a friend function can refer a undefined and a undeclared class
Is it true that A friend class of a class can access the data members of the class
Is it true that The dynamic cast operator gives the information about the object at run time
Can we convert a const integer variable to non const variable
Is it true that We don’t have to rewrite the code when we are using composition or inheritance
Is it true that A function that is a friend of a class can access only the public data members of a class
Is it true that If class B is declared as a friend to class A, then class A can access all private & public members of class B
Is it true that templates can’t be used on user defined data type
Is it true that Function template and template functions are similar
Is it true that Macros are more advantageous then templates
Is it true that We get a compilation error if class templates are instantiated using objects
Is it true that The member functions of a template class should mandatorily be defined in the class
Is it true that If there is a function template called fun(), then a specific appropriate version of it would be generated when the fun() is called with a new data type argument
Is it true that template saves memory
Is it true that A function template should mandatorily have only one argument type
Is it true that We get run time error if we set default values to template arguments
Is it true that We get compile time error if function templates are overloaded
Course Curriculum
Chapter 1: C and C++
Lecture 1: Introduction: Where are the function declarations/definitions present
Lecture 2: What is the full form of a.out the executable
Lecture 3: In static library, are the library files part of the executable file (a.out)
Lecture 4: In dynamic library, are the library files part of the executable file (a.out)
Lecture 5: Can we do a conversion from void * to float *
Lecture 6: Is reference a constant pointer
Lecture 7: What is the difference between a reference and constant pointer
Lecture 8: How does a reference to a reference work
Lecture 9: In the given program, convert all the const pointer statements to references
Lecture 10: what is int *const p; const int *p; const int * const p; int const *p;
Lecture 11: What is the diff between the operators (&) and (&*) when used alongside pointers
Lecture 12: In C++, is it mandatory to name a structure or a union
Lecture 13: Is the life time of a locally declared reference limited to the function
Lecture 14: Declare: an array of 5 integers, an array of 5 pointers, ptr to arr of 5 ints
Lecture 15: Can we have multiple definitions of a function in a single module
Lecture 16: What is the difference between declaration and definition of a variable
Lecture 17: Define a structure which contains a member function to add 2 of it’s data member
Lecture 18: Does a pointer to a variable act like a constant reference
Lecture 19: Does scope resolution operator help us in retrieving only the value of ….
Lecture 20: diff between the stmts : a constant ref , ref is a constant pointer
Lecture 21: Can we call a pointer ( which points to a read only string ) as a constant ptr
Lecture 22: Do we get a lvalue error in an assignment statement where a function call is …
Lecture 23: QUIZ on C and C++
Chapter 2: Functions
Lecture 1: Are there only 2 ways to pass variables to a function ?
Lecture 2: Does passing arguments by reference really advantageous
Lecture 3: Is static variable intermodular or intramodular
Lecture 4: Are Inline functions similar to macro definitions
Lecture 5: Is Function overloading is asking the same function to perform different ….
Lecture 6: Can we overload the function to accept an char value and an char reference
Lecture 7: Suppose I have a structure having data members. I create 2 structure ….
Lecture 8: Can we increment the data member of the structure through the …
Lecture 9: QUIZ on Functions
Chapter 3: Classes
Lecture 1: What is a class and a object
Lecture 2: Is it true that A constructor is not a mandatory function in a class
Lecture 3: Is it true that when Malloc allocates memory dynamically when creating an …
Lecture 4: Can A public data member of the class can be accessed from anywhere with in the
Lecture 5: Can A member function of the class can be made private
Lecture 6: Can I alter the private data member of the class from outside the class
Lecture 7: Is it true that A static member function can be accessed only by …
Lecture 8: Can a static member function change the data member value belonging to …
Lecture 9: Can a constructor of a object initialize the static data member of the class
Lecture 10: Can a normal member function change modify the static data member of the class
Lecture 11: Can we modify a publicly declared static data member from outside the class
Lecture 12: Can one class contain an another class in it
Lecture 13: Create an array of 3 objects and initialize them
Lecture 14: Is it logical to initialize the data members in the class when the class is …
Lecture 15: Can we initialize the public const data member of the class from outside the …
Lecture 16: Can one class have an other class’s object declared in it’s private section
Lecture 17: Can we create an object of an anonymous/nameless class
Lecture 18: Does an overloaded assignment operator get’s called by default when …
Lecture 19: Does an overloaded ‘+’ operator get’s called by default when one object is
Lecture 20: Can we assign an integer value to an object
Lecture 21: Explain the concept of this pointer
Lecture 22: Is it true that the member functions can only access the data members related to
Lecture 23: is it possible to pass arguments to an obj when you are creating it dynamically
Lecture 24: What happens when i add two objects which contain string type data members
Lecture 25: can we return a value from the constructor function
Lecture 26: declare a member function in private section in a class and call it in main func
Lecture 27: is the destructor function called when we use delete function on the pointer to
Lecture 28: Can we create a static object
Lecture 29: Can we have a const member function
Lecture 30: Is there any difference between assignment operators and copy constructors
Lecture 31: QUIZ on Classes
Chapter 4: Inheritance
Lecture 1: what happens when a class is derived publicly from another class
Lecture 2: Is it true that If a derived class is privately derived from a base class then..
Lecture 3: difference between private, protected and public
Lecture 4: Can we access protected members from outside the class when a class is derived..
Lecture 5: in case of multiple levels of class derivations, can the private date members…
Lecture 6: in case of multiple levels of class derivations, can the protected date members
Lecture 7: what happens when class Derived is privately derived from class Base, and ….
Lecture 8: can we access a function of the base class from a derived class member ….
Lecture 9: can we access a function of the base class from a derived class directly from ..
Lecture 10: what happens when class der2 derived publicly from class der1 which in turn ….
Lecture 11: what happens when class der2 derived publicly from class der1 which in turn …
Lecture 12: what happens when class der1 is derived publicly from class myclass and myclass2
Lecture 13: a class is derived publicly from 2 base classes both has a ….
Lecture 14: a class is derived publicly from a base class. can a baseclass object access the
Lecture 15: a class is derived privately from a base class. can a …
Lecture 16: a class is derived publicly from a base class. can a derived …
Lecture 17: QUIZ on Inheritance
Chapter 5: Virtual Functions
Lecture 1: In the given pgm: which class's member function display() is called when ….
Lecture 2: In the given pgm: Do we get compilation error when the display() function is …
Lecture 3: In the given pgm: can a pointer to base class which contains the address of the
Lecture 4: Is it true that a virtual function without the expression = 0 added to the …
Lecture 5: Is it true that An abstract class is something where in the derived class can’t
Lecture 6: given a derived object assigned to base class object, can the base class object
Lecture 7: Is it true that Virtual functions don’t support polymorphism
Lecture 8: QUIZ on Virtual Functions
Chapter 6: Friend Functions, Templates and other Features
Lecture 1: Is it true that The ‘has a’ is a concept where in when a class is derived from a
Lecture 2: Can we use the explicit keyword along with the constructors to prevent implicit
Lecture 3: Is it true that The data member of the const object can be changed using mutable
Lecture 4: Is it true that a friend function of a class can never access private data of a
Lecture 5: Is it true that a friend function should mandatorily a member function of the
Lecture 6: Is it true that Forward referencing is a concept where in a friend function can
Instructors
-
Satish Venkatesh
Software Engineer
Rating Distribution
- 1 stars: 5 votes
- 2 stars: 6 votes
- 3 stars: 9 votes
- 4 stars: 15 votes
- 5 stars: 20 votes
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
You may also like
- Top 10 Video Editing Courses to Learn in November 2024
- Top 10 Music Production Courses to Learn in November 2024
- Top 10 Animation Courses to Learn in November 2024
- Top 10 Digital Illustration Courses to Learn in November 2024
- Top 10 Renewable Energy Courses to Learn in November 2024
- Top 10 Sustainable Living Courses to Learn in November 2024
- Top 10 Ethical AI Courses to Learn in November 2024
- Top 10 Cybersecurity Fundamentals Courses to Learn in November 2024
- Top 10 Smart Home Technology Courses to Learn in November 2024
- Top 10 Holistic Health Courses to Learn in November 2024
- Top 10 Nutrition And Diet Planning Courses to Learn in November 2024
- Top 10 Yoga Instruction Courses to Learn in November 2024
- Top 10 Stress Management Courses to Learn in November 2024
- Top 10 Mindfulness Meditation Courses to Learn in November 2024
- Top 10 Life Coaching Courses to Learn in November 2024
- Top 10 Career Development Courses to Learn in November 2024
- Top 10 Relationship Building Courses to Learn in November 2024
- Top 10 Parenting Skills Courses to Learn in November 2024
- Top 10 Home Improvement Courses to Learn in November 2024
- Top 10 Gardening Courses to Learn in November 2024