default argument promotion of pointer

我与影子孤独终老i 提交于 2020-01-14 03:06:30

问题


Which roles are used when i call a function with pointer argument unless declare the function before? I know that float are promoted to double and that are executed the integral promotion, but what happens at the pointers?


回答1:


Nothing. Default argument promotions don't apply to arguments of pointer type so they are left unchanged in type and value.



来源:https://stackoverflow.com/questions/14068058/default-argument-promotion-of-pointer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!