top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

Is there any qualifier for alias in C or we need to manage with pointers only?

+2 votes
63 views
Is there any qualifier for alias in C or we need to manage with pointers only?
posted Mar 6, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

There is no such thing called alias however pointer works perfect for the alias case see the following example -

int a;
int *p=a;

now p is a address of a so in all practical purpose *p is a alias of a.

answer Mar 7, 2015 by Salil Agrawal
Similar Questions
+4 votes

Is it valid in C

P = P1 + P2 - P3 
+1 vote

Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function in C programming?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...