If i suppose supply 5v to the Vin of Arduino and draw 5v and 3.3 v from 5v pin and 3.3v of Arduino when it only provided 3.7v in 5v because of low power input for long time.
What happens . Does it damage my 328p chip, i am using a dip version of Arduino uno.
Because my board throws error while uploading code and now the onboard led does not blink its stable.
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xab
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xab
avrdude: stk500_recv(): programmer is not responding
The specification for Vin is a minimum of 7V. You can feed 5V into the 5V pin but for certain Arduinos you have to be careful not to feed 5V through the USB at the same time; it might cost you your PC.
It will be safe when using a Nano, but not when using e.g. an Uno or a Mega.
To answer your question:"Is my atmega328p of Arduino is fine?" The only answer I can give is try it, not knowing what version etc you are using. sterretje is correct. Try the blink sketch and see if you get anywhere but be sure there is nothing connected to it other then the USB cable.