Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: defined vs null string

by roboticus (Chancellor)
on Aug 30, 2011 at 18:35 UTC ( [id://923284]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #include <stdio.h>
    #include <string.h>
    ...
        check(def);
        return 0;
    }
    
  2. or download this
    $ ./a.exe
    Undefined (null ptr)
    Empty string: loc=0x4020e5
    Defined loc=0x4020e6, val='foo bar'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://923284]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-19 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found