What will be the output of this code 
#include <iostream>
    int main()
    {
        char arr[2];
        int i;
        for(i = 0; i < 1; i++)
            *(arr + i) = 6 + i;
        *(arr + i) = '\0';
        cout << arr;
        return(0);
    }

Posted on by