Yes if you have a meal you will most likely get out of Ketosis if you had carbs with your meal. Your fasting in general ends as soon as you eat something that spikes your insulin, that’ll happen with every meal
Well it depends the amount of calories and type of calories you eat now don’t think the more days without food the more benefits the benefits of fasting really kick in at 3 and keep increasing until day 7 then they diminish and after day 24 the benefits and risk to fast for more are not worth it