LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Closed Thread
  Search this Thread
Old 03-22-2010, 11:15 PM   #1
is noname
LQ Newbie
 
Registered: Dec 2009
Posts: 11

Rep: Reputation: 0
Thumbs up pointer in C language


haii ,guyss ..
i am beginner in C language ..please help me .

i see the code :
typedef struct {
int a ;
char *b ;
int *c ;
}EXP2 ;

typedef struct xx {
int a ;
char *s ;
EXP2 *exp2 ;
struct xx *next ; /* question : it 's a linked list ? */
}EXP1 ;

int main () {
EXP1 *exp1a, **exp1b ;
exp1b = (EXP1 **) exp2->a ; /* question : what mean is it ? */
}
please guyss ..
give me some example and explanation ...

Thankss All,
 
Old 03-22-2010, 11:19 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Please post your question in one location only, so that it is easier for people to help you as the the discussion remains in one place.

You already posted this question over here: http://www.linuxquestions.org/questi...nguage-797181/
and as a result, this thread will be closed, and the discussion can continue at the above link.

Thanks,

Sasha

Last edited by GrapefruiTgirl; 03-22-2010 at 11:21 PM.
 
Old 03-23-2010, 02:55 AM   #3
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Google is your friend:

http://www.google.com.au/search?hl=e...q=pointer+in+C
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] pointer in C language is noname Programming 2 03-23-2010 09:38 AM
pointer to pointer segmentation fault Guilherme Programming 7 06-28-2009 09:47 AM
pass pointer,, return pointer??? blizunt7 Programming 3 07-23-2005 01:36 PM
returning data to main() via a pointer to a pointer. slzckboy Programming 3 05-30-2005 01:20 PM
hot to set value of pointer to pointer to a structure in C alix123 Programming 2 11-17-2004 06:40 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration