Pointer size issue

sir/mam when i declared one pointer as integer pointer in my code and when i printed its size using sizeof operator it was displaying 4
and when i declared another pointer of type char …and printed its size i was showing 1 …please explain this concept…because in videos you it was explained as every pointer has same size …because address of every variable takes equal space

@Gaurav_dev both the pointers would occupy same space take a look at this https://ide.codingblocks.com/s/212812 both the pointers size is 8.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.