What will be output of below code :

Code:
int main(){
    int n = 255, i;
    char *p = (char *)&n;
    for(i = 0; i < sizeof(int); i++)
        cout<<*(int *)(p + i)<<"\n";
    return 0;
}