Oct 212012
 

What will be the output of below C++ program?
Continue reading »

Jun 122012
 

What will be the output of the below C language program:

int main()
{
    enum os {windows, unix, mac};
    enum furnitures {doors, windows, table, chair, bed};

    for(int i=doors; i<bed; i++)
    printf("%d ", i);

    return 0;
}

Continue reading »