TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Karthik Agarwal
NA
748
266.1k
Can any one tell what does this below code mean?
Dec 1 2011 10:51 AM
I have a macro as follows
#define T_412_A 0xB4C
typedef unsigned long UINT32;
Now i am passing this value to another function as follows:
interface((void *)T_412_A);//
1. what i am sending here either value 0xB4C or address of that
And i am receiving the same in another function as follows and sending the same to another function as follows:
UINT32 interface(void * dynamic_data_vp)//
2. what i have received here
{
decode_bit_format((void *)dynamic_data_vp);
//what i am sending here address or value
}
decode_bit_format(void * text_data_vp)
//what i am receiving here
{
My actual intention is to get the original value 0xB4C here if i am doing anything wrong correct it so that i can get the value here which is 0xB4C
}
This is pure C code answer required ASAP.
Reply
Answers (
1
)
How to read a string from console window which can also contain special characeters like _(underscore) also?
How to debug this?