char str = "abc"; printf("%-10p",&str); %p : 代表输出字符串首地址 10 :代表输出数据占10个位宽 - :代表数据向左对齐 转载于:https://www.cnblogs.com/ACPIE-liusiqi/p/9089634.html