<b>(a)</b> Thread <1024>: Creating/destroying 100000 strings... Thread <1024>: total time=23 millisecs, average=0.000230 <b>(b)</b> Thread <1026>: Creating/destroying 100000 strings... Thread <1026>: total time=23 millisecs, average=0.000230 Thread <3076>: Creating/destroying 100000 strings... Thread <4101>: Creating/destroying 100000 strings... Thread <3076>: total time=35 millisecs, average=0.000350 Thread <5126>: Creating/destroying 100000 strings... Thread <5126>: total time=23 millisecs, average=0.000230 Thread <4101>: total time=71 millisecs, average=0.000710 Thread <6151>: Creating/destroying 100000 strings... Thread <6151>: total time=24 millisecs, average=0.000240 Thread <7176>: Creating/destroying 100000 strings... Thread <8201>: Creating/destroying 100000 strings... Thread <9226>: Creating/destroying 100000 strings... Thread <9226>: total time=23 millisecs, average=0.000230 Thread <10251>: Creating/destroying 100000 strings... Thread <10251>: total time=23 millisecs, average=0.000230 Thread <7176>: total time=80 millisecs, average=0.000800 Thread <8201>: total time=80 millisecs, average=0.000800 Thread <2051>: Creating/destroying 100000 strings... Thread <2051>: total time=23 millisecs, average=0.000230
Example 4: (a) The results of running teststring5.cpp; (b) results of teststring6.cpp.