Can I use PWM pins as analog inputs?

Hello all,

My question is can I use PWM pins with ~ symbol next to them on my Arduino Uno as the analog input just like A0-A5 pins?

I tried doing that but pins with ~ symbol next to them doesn't read 1023 when I connect 5V to them but the A0-A5 pins do output 1023 on connecting 5V.

No, only the analog input pins can be used. Hence the name.

Thanx for the reply