038. Technical interview question: Give the output of following code

int main()
{
        int s[3] = {'\0', '\0'};
        int x[3] = {'\0', '\0'};
        int c = s[1] + x[0];
        printf("%d", c);
        return 0;
}
Watch video explanation for this technical question

Leave a Reply

Your email address will not be published. Required fields are marked *