It depends on the permissions user B set on the file (likely automatically). In that example, it's like this:
Owner (user B): read, write, execute
Group: read, execute
Everyone: read, execute
The default umask is 022, meaning files will be created with permissions 755 (like the example)...