#include <stdio.h>

void string(char arr[]);

int main() {
    char firstname[] = {'V','A','N','S','H','I','K','A','\0'};
    char lastname[] = {'S','I','N','G','L','A','\0'};
    
    string(firstname);
    string(lastname);
    return 0;
}

void string(char arr[]){
    for(int i=0;arr[i] != '\0'; i++) {
        printf("%c",arr[i]);
    }
    printf("\n");
}

Embed on website

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