#include
int main(void)
{
int a = 10, b = 200;
printf("a = %-3d\nb = %-3d\n", a, b);
//列印整數用三位數排版
int ya = 777;
int* ptr = &ya; //宣告指標(*可放前、後)
printf("ya = %d\n", *ptr);
printf("ya = %d\n", ptr);
printf("ya = %d\n", &ptr);
printf("ya = %d\n", &ya);
system("PAUSE");
return 0;
}
----------------------------------------------
執行結果:
a = 10
b = 200
ya = 777
ya = 2293620
ya = 2293616
ya = 2293620
請按任意鍵繼續 . . .
--
2 則留言:
nike 95
nike shoes
curry 5
yeezy boost 350
jordan shoes
yeezy boost 350 v2
off white nike
adidas gazelle
cheap nfl jerseys china
retro jordans
best replica designer bags o31 a1q65z5n53 designer replica luggage r61 s9t93m7d32 best replica bags s74 n7u82z3e66
張貼留言