cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
printf("%what",..) for user defined type
printf("%what",..) for user defined types
Feb 25, 2013 at 7:56am UTC
puneet9983
(7)
typedef struct Node
{
int data;
struct Node *next;
}node;
node* var;
.....
printf("%x",var->next);
what should be %x here (for type 'node')?? like %d for integer..
Topic archived. No new replies allowed.