#include <stdio.h>

void printString(char []);

int main() {
    char firstName[] = "Shahzeb Ahmed ";
    char lastName[] = "Shaikh";
    printString(firstName);
    printString(lastName);
}

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

Embed on website

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