Multiple pointer declaration

In c language
int* ipa, ipb, ipc;
What do you think about declaration of ipa,ipb and ipc.Is there anything wrong.


  1. ipa, is a pointer,
    ipb and ipc are integers

    if we want all of them pointers, it should be

    int* ipa, *ipb, *ipc;


Post a Comment

Popular posts from this blog