By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,933 Members | 1,676 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,933 IT Pros & Developers. It's quick & easy.

extract pointer varibles and memory assignmnets from a c file

P: 1
Expand|Select|Wrap|Line Numbers
  1. #include<stdio.h>
  2. void main()
  3. {
  4. int *a,b;
  5. a=&b;
  6. }
  7.  
above c code should be the input. a and b variables are to be printed as follows

output:
pointer variables a
address variable b
a->b
Sep 18 '09 #1
Share this Question
Share on Google+
1 Reply


numberwhun
Expert Mod 2.5K+
P: 3,503
@mithckr
First, please use code tags around any code that you place into the forums.

Second, do you have a question that you would like to ask? We would all love to be mind readers, but if you are trying to do something and are having problems, we do not know the issue unless you both ask a question and share the Perl code that you have been working with.

Regards,

Jeff
Sep 18 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.