I think it may depend upon the size of the can.
A 15.8 ounce can is equal to 448 grams.
Looking at Google a 15.8 ounce can’s serving size is 266.5 grams. So there would be slightly less at 224 grams (edited to add: 448 grams in the total can, divided by 2). The carbs for a 266.5 gram serving is 45.2 carbs, less 5.1 if you subtract fiber.
The thing is, you need to look at the lable of what you are eating, because the serving size may be different, especially if you are eating a single-serving portion. One way to tell is to look at the serving size and then look at the total size of the product itself.
Truthfully I was surprised that the lable for Spaghetti O’s that I looked at on Google didn’t say there were two plus servings in that single can; I thought with the new laws it should have.