#include <stdio.h>
#include <stdbool.h>
#
void inicializar_y_mostrar_datos(int val_altura, const char* mi_nombre, char mi_inicial, bool valor_booleano);

int main() {
inicializar_y_mostrar_datos(10, "Jorge", 'J', true);

    return 0;
}
    void inicializar_y_mostrar_datos(int val_altura, const char* mi_nombre, char mi_inicial, bool valor_booleano) {
     
    int altura = val_altura;
    const char* nombre = mi_nombre;
        char inicial = mi_inicial;
        bool estado = valor_booleano;
        
    printf("a. Altura: %d\n", altura);
    printf("b. Nombre: %s\n", nombre);
    
    printf("c. Inicial: %c\n", inicial);
     
    printf("d. Estado logico: %s\n", estado ? "true" : "false");

}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: