tag:blogger.com,1999:blog-6278368051589800913.post2782982851476546852..comments2023-12-13T02:12:45.173-08:00Comments on C++: Bubble Sort C++Rehanhttp://www.blogger.com/profile/11927805919590519571noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6278368051589800913.post-62469358452303394382013-11-29T07:05:53.870-08:002013-11-29T07:05:53.870-08:00Because first line of code in main() is: const int...Because first line of code in main() is: const int array_size = 4; Change it to whatever size you want, or take int array_size as input from user and create array dynamically: int *x = new int [array_size];Rehanhttps://www.blogger.com/profile/11927805919590519571noreply@blogger.comtag:blogger.com,1999:blog-6278368051589800913.post-75967342830475295822013-11-29T04:54:59.280-08:002013-11-29T04:54:59.280-08:00this only works 4 only 4 as the array size
this only works 4 only 4 as the array size<br />Anonymousnoreply@blogger.com