AC
Why are you using fflush on stdin? If you read the C Documentation it tells you that this is not defined in the standards. Do not do this.
what should i use ? because when i didnt used fflush , everything became so meshed . i dont know how to fix this mesh without fflush
Thankx to LEPPY . ure so helpful men