Ur program works well in MS Vc++ 6 compiler..........