Answered Questions

  • Moving Colour Balls

    You have a basket of 1000 balls with 3 different colors with equal amount (assuming they will in equal amount). In how many moves you will get the balls of all colors like one red one green one blue, that it will sure you have all colors balls, then in how many attempts you will find that triplet.

  • what is the difference between structure and union?

    Nidhi.saradhara

    • May 5th, 2014

    The difference between Union and structure is the structure is occupied a memory to all member in the structure but union is occupied to memory in largest member in union

    sendhil

    • Aug 14th, 2011

    Structure has different memory location but union has the same memory location while using the structure , struct is the keyword and here union is the keyword