Help me in solving RCPITCP78 problem

My issue

Privase problem

My code

#include <stdio.h>

int main() {
    char var[0] = "String";
    printf("%c", var[ 0 ])
    printf("%c", var[ 1 ])
    printf("%c", var[ 2 ])
}

Learning course: Learn C Programming
Problem Link: https://www.codechef.com/learn/course/rcpit-programming-c/RCPITLPC12/problems/RCPITCP78