Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #55.0K
~842 People Reached
Favorite Forums
Favorite Tags
c++ x 2
c x 1

3 Posted Topics

Member Avatar for vicky_dev

Try this program and see the output. [code] int main() { int y; int x; scanf("%d", &x ); printf("Address of x : %X, value : %d" ); return 0; } [/code]<< moderator edit: fixed [url=http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#code][inlinecode][co[u][/u]de][/co[u][/u]de][/inlinecode][/url] tags >> I think the allocation starts from a specific location and every next allocation …

Member Avatar for vicky_dev
0
300
Member Avatar for scoobie
Member Avatar for btech

Such big code does not help. Pinpoint the place where you get the error message. You probably missed initialisation of an object so that it is null. If you call the object members, then null reference exception will occur.. Regards, :) Paramesh.

Member Avatar for Lerner
0
194

The End.