I need clarification.
I undertand what << operator does
The left shift operator
<< causes the bits of the left operand to be shifted left by the number of positions specified by the right operand.
variable << number_of_bits;
Now with pin registers I have following command
1 << DDC3 I thought DDC3 would represent the 4th bit of the DDRC register but by the look of it DDC3 is the index of that bit so it is 4. then the comand really is 1<<4 which returns 1000 So the command DDRC|=1<<DDC3 would set the forth bit of the DDRC register to one meaning setting A3 pin as output Do I understand this correctly?