Simpler Code for 7 Segment LED and Shift Register

I thought the format was

byte c = B01100000;

or do both ways work?