No, we cannot have a String Primitive data type in C++. Instead, we can have a class from the Standard Template Library (STL).
Posted Date:- 2021-08-24 06:00:18
What is the role of the Static keyword for a class member variable?
What is a COPY CONSTRUCTOR and when is it called?
What is the difference between an Object and a Class?
Explain Register Storage Specifier.
What is a Storage Class? Mention the Storage Classes in C++.
What is wrong with this code?
T *p = 0;
delete p;
Explain what is COPY CONSTRUCTOR and what is it used for?
Explain what is pre-processor in C++?
Explain what is upcasting in C++?
Explain what is C++ exceptional handling?
What is the C-style character string?
Explain what are Access specifiers in C++ class? What are the types?
Define basic type of variable used for a different condition in C++?
.Explain Function overloading with a different number of arguments with an example?
Explain the declaration of variables in C++?
How To Get The Current Position Of The File Pointer?
What is an Inline function in C++?
How to reverse a vector in C++?
How to initialize vector in C++?
What are new and delete operator?
How to concatenate two strings in C++?
Explain briefly Classes & Objects?
What is calloc() function? Describe the syntax?
What is the function of the keyword "Auto"?
What are the functions of the scope resolution operator?
Can we have a String primitive data type in C++?
What is a mutable storage class specifier? How can they be used?
What do you mean by ‘void’ return type?
How to initialize a 2d vector in C++?
What is stl in C++ with example?
What is the use of pure virtual function?
What are character constants in C++?
Is there any advantage of using one over the other?
What is the difference between equal to (==) and Assignment Operator (=)?
How many ways are there to initialize an int with a Constant?
Comment on Local and Global scope of a variable.
Difference between Declaration and Definition of a variable.
What are the types of Polymorphism?