Eating right is as important as exercise to get a flat stomach.
Starving oneself is never an option as it simply doesn't serve the purpose.
You will not lose fat but probably end up losing muscle and that is not good.
These are the foods that you should eat to move closer to getting that flat stomach.
Cucumber
Due to high water content, roughly 96% and the presence of flavonoid antioxidant 'quercetin', cucumber helps prevent bloating.