Answered Questions

  • Difference between void pointer and generic pointer?

    Ankit Singh

    • May 16th, 2017

    As before or in terms of other site definition generic pointer is like a void pointer but here you are saying generic pointer can not hold the address of any datatype . why? please explain ....

    Avi

    • Aug 25th, 2016

    That is because when you declare an array say--->int arr[3]={1,2,3}; arr itself contains the base address of the array i.e arr is equivalent to &arr[0] so if a pointer say int *ptr is to point an arra...