New course! Every coder should learn Generative AI!
Try a free lesson0
When do we use size_t data type and npos in c++ strings?
1 Answer
0
size_t is a type able to represent the size of any object in bytes. It is used of indexing and counting in array.