[c/c++]数组名和指针的区别

/ 1,394评论 / 4017阅读 / 0点赞
#include <iostream>
using namespace std;

int main()
{
	int i = 0;
	int* i_p = &i;
	int arr[10] = {};

	cout << "&i:   " << &i   << endl;
	cout << "i_p:  " << i_p  << endl;
	cout << "&i_p: " << &i_p << endl;
	cout << "arr:  " << arr  << endl;
	cout << "&arr: " << &arr << endl;
	cout << "sizeof(int):  " << sizeof(int) << endl;
	cout << "sizeof(int*): " << sizeof(int*) << endl;
	cout << "sizeof(i_p):  " << sizeof(i_p) << endl;
	cout << "sizeof(arr):  " << sizeof(arr) << endl;
	return 0;
}
  1. Jamescix说道:

    amoxicillin without prescription: buy amoxicillin 250mg – amoxicillin 500 mg without prescription

  2. Charlesflarm说道:

    http://buyprednisone.store/# prednisone 1mg purchase

  3. Jamescix说道:

    ivermectin cost uk: ivermectin 12 mg – stromectol in canada

  4. Charlesflarm说道:

    https://furosemide.guru/# lasix furosemide

  5. Davidham说道:

    amoxicillin 250 mg price in india where can i buy amoxocillin order amoxicillin online no prescription

  6. Jamescix说道:

    prednisone 20 mg tablets coupon: purchase prednisone canada – cost of prednisone

  7. Charlesflarm说道:

    http://buyprednisone.store/# prednisone buy without prescription

  8. Davidham说道:

    ivermectin oral ivermectin 5 mg stromectol price us

  9. Charlesflarm说道:

    http://furosemide.guru/# lasix for sale

  10. Jamescix说道:

    ivermectin cream cost: ivermectin 9mg – ivermectin 3 mg tabs

  11. Leonardlex说道:

    lisinopril 40 mg pill: lisinopril online usa – 50mg lisinopril

  12. Leonardlex说道:

    stromectol pill price: cheap stromectol – ivermectin 1%

  13. Charlesflarm说道:

    http://lisinopril.top/# lisinopril 5 mg tablet price in india

  14. Jamescix说道:

    buying prednisone on line: can you buy prednisone over the counter – prednisone prescription online

  15. Charlesflarm说道:

    https://amoxil.cheap/# cheap amoxicillin 500mg

  16. Davidham说道:

    prednisone 3 tablets daily prednisone 0.5 mg ordering prednisone

  17. Jamescix说道:

    60 mg lisinopril: zestril 20 mg price – lisinopril 10 mg online

  18. Charlesflarm说道:

    https://amoxil.cheap/# amoxicillin 500 mg purchase without prescription

  19. Davidham说道:

    furosemide Buy Lasix No Prescription lasix pills

  20. Charlesflarm说道:

    http://buyprednisone.store/# medicine prednisone 5mg

  21. Jamescix说道:

    furosemide: Buy Lasix No Prescription – lasix 40mg

  22. Jamescix说道:

    order prednisone online canada: 10 mg prednisone – prednisone tablets canada

  23. Leonardlex说道:

    lisinopril 5 mg tablet price: lisinopril 20mg pill – lisinopril 20g

  24. Stephenvew说道:

    http://amoxil.cheap/# 875 mg amoxicillin cost

  25. Leonardlex说道:

    zestril generic: zestril brand name – lisinopril online

  26. Charlesflarm说道:

    https://lisinopril.top/# lisinopril 20 pills

  27. Charlesflarm说道:

    https://lisinopril.top/# on line order lisinopril 20mg

  28. Davidham说道:

    amoxicillin order online order amoxicillin uk where to buy amoxicillin

  29. Charlesflarm说道:

    http://furosemide.guru/# lasix online

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注