In C: How to calculate the the number of pointers storing the address of variable?

خرید بک لینک

main()
{
  int a;
  int *p1 , * p2 , *p3;
  p1 = &a;
  p2 = p1;
  p3 = p2;
}

What do i get the output as 3. Since there are 3 pointers holding the value of the variable 'a'.

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 200 تاريخ: شنبه 18 ارديبهشت 1395 ساعت: 18:27

صفحه بندی