i have assigned a value directly to a pointer like *ptr=12; and i have used it,no error came.if we assign like this where the pointer points to?explain me?
smdjilani 0 js
Tumlee 42 Junior Poster in Training
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
Tumlee 42 Junior Poster in Training
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
Moschops 683 Practically a Master Poster Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.