Return in void function

the readline function we made is of void type how it can return anything? and what does it return here?:-

void readline(char a[], int maxLength){
int i = 0;
char ch = cin.get();
while (ch !=’\n’)
{
a[i] = ch;
i++;

    if(i==(maxLength-1)){
        break;
    }
    ch = cin.get();
}

a[i] = '\0';

return ;

}

hi @yamangoyal100_ff74db54bdf01539 u r not returning anything the return statement is just to say the function is complete in case of void function u can even remove it