#include <stdio.h>

struct vector{
   int i;
   int j;
};

int main(){
    struct vector v={1,2};
    printf("the value of vector is %di + %dj",v.i,v.j);
    return 0;
}

Embed on website

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