I\'m trying to bubble sort a character array in alphabetic order. My code is as follows:
#define CLASS_SIZE 10 #include void bubbleSortAWrit
#include using namespace std; int main(){ cout<<"Enter the size of array"; int n; cin>>n; cout<<"enter elements"; char arr[n]; for(int i=0;i>arr[i]; } for(int i=0;i