prog.cpp: In function ‘int main()’:
prog.cpp:5:22: error: cannot convert ‘const char*’ to ‘float’ in initialization
float mi_caracter = "a";
^~~
prog.cpp:6:9: warning: format ‘%c’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=]
printf("el carácter es: %c", mi_caracter);
^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~