Always refer to the datasheet of the micro controller when coding and you are most likely to find your answers there.
Although your question is not absolutely clear still if you want to set the direction of port pins (Input and Output) you can find how to do that in the datasheet:
Link to datasheet :
https://ww1.microchip.com/downloads/en/DeviceDoc/40039F.pdf
Your solution:
Refer 3.1 PORTA and the TRISA Registers
PORTA is an 6-bit wide, bidirectional port. The corresponding
data direction register is TRISA. Setting a
TRISA bit (= 1) will make the corresponding PORTA pin
an input (i.e., put the corresponding output driver in a
High-Impedance mode). Clearing a TRISA bit (= 0) will
make the corresponding PORTA pin an output (i.e., put
the contents of the output latch on the selected pin).
Similarly Refer for TRISC
I hope this helps you clear basic doubts, finding out solutions yourself is the best way of learning new things.
Cheers.