How would you implement a substr() function that extracts a sub string from a given string?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is exception handling? Does c++ support exception handling?

0 Answers  


What is unary operator? List out the different operators involved in the unary operator.

0 Answers  


Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c

0 Answers  


What is the insertion operator and what does it do?

0 Answers  


What does override mean in c++?

0 Answers  






How long it will take to learn c++?

0 Answers  


What are the different operators in C++?

3 Answers   HP,


If a header file is included twice by mistake in the program, will it give any error?

0 Answers  


explain the reference variable in c++?

0 Answers  


int main() { int i ,a[i]; i = 0; a[i] = 10; cout<< a[i] << endl; return 0; } What will be output of this program?

11 Answers   HCL, Mphasis,


What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

0 Answers  


Explain what are accessor methods?

0 Answers  


Categories