Похожие чаты

Int i[5]; printf("%p\n", &i[10]); Why doesnt this give me an error...i mean

it is printing an address how?

2 ответов

10 просмотров

Why it should give? There is no access violation in here because in printf, you are just calculating start address of i + 10. If you want to access value of this address, it might be. (Still no guarantee that you get seg fault)

aklil- Автор вопроса

This one for example

Похожие вопросы

Обсуждают сегодня

Карта сайта