You are viewing a single comment's thread. Return to all comments →
U can solve this program by using array of size 2 by min(s1.size(),s2.size())
it won't give segmentation fault Most probably its SIGSEGV, Segmentation fault bcoz of invalid memory pointer reference
Seems like cookies are disabled on this browser, please enable them to open this website
Common Child
You are viewing a single comment's thread. Return to all comments →
U can solve this program by using array of size 2 by min(s1.size(),s2.size())
it won't give segmentation fault Most probably its SIGSEGV, Segmentation fault bcoz of invalid memory pointer reference