#include <stdio.h>
#include <unistd.h>

struct Arr
{
    char A[20];
    int size;
    int len;
};

void Display(struct Arr arr)
{
    int i = 0;
    char j;
    while(i < arr.size)
        {
            char j = arr.A[i]; 
            write(1, &j, arr.size); 
            i++;
        } 
}

int main() {
    struct Arr arr = {"aaaa", 5, 10};
    Display(arr);

    return 0;
}

Embed on website

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