Question: Which function is used to get the length of a string object?

Options

A : str.length()

B : str.size()

C : str.max_size()

D : both size() and length() function

Click to view Correct Answer

Previous || Next

Cplusplus Programming String 1 more questions

What is the formula for the stored energy at any....

How are active liquids of nuclear waste disposed?

How inserting data through stored procedure do reduces network traffic....

What is the performance of an accumulator?

What is the central device in star topology?

The topology of the faces in an unstructured grid depends....

Cross-wall construction is composed of internal walls which run at....

What is the shape of Haemoglobin-oxygen dissociation curve?

A Stair turning through two right angles is known as....

The ___________ stairs are useful where the space available is....

Chemical Engineering Basics - Part 1 more Online Exam Quiz

Cplusplus Programming Stl Algorithms

Cplusplus Programming Stl Container Any 1

Cplusplus Programming Stl Heap

Cplusplus Programming Stl Pair

Cplusplus Programming Stream

Cplusplus Programming Templates

Cplusplus Programming Tuples 1

Cplusplus Programming Tuples 2

Cplusplus Programming Valarray

Cplusplus Programming Vtable Vptr