#include <stdio.h>
void printString(char []);
int main() {
char firstName[] = "Aaseem ";
char lastName[] = "Ahmed";
printString(firstName);
printString(lastName);
}
void printString(char x[]){
for (int i=0; x[i] != '\0'; i++) {
printf("%c", x[i]);
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: