Transferring Pass/No Pass Credits to UCI from a CC

I am a high school student planning on taking Calc D from my local CC. However, the only professor available outside my regular school hours is quite difficult (I know from prior experience) and I was considering taking the course pass/no pass. I was wondering if there would be any issues transferring the course credit to UCI. I have heard that taking courses required for your major pass/no pass is not advised and I am planning on majoring in Computer Engineering. What are the consequences for taking the course pass/no pass?