#include<stdio.h>
#include<conio.h>
#include<string.h>
void printlength(char a);
void printlength(char a)
{
    int len = strlen(a);
    printf("The Length of the String %s is %d ", a, len);
    getch();
}
void main()
{
    char a[25];
    clrscr();
    printf("Enter the name");
    scanf("%s", &a);
    printlength(a);
}
I just started learning c and stuck in these error. I am getting both the error
type mismatch in parameter error in c and type mismatch in parameter redeclaration
 
     
    