Q.no.1: What is the difference between zero and null values?
Q.no.2: If we have double data type then why we use long data types?
Q.no.3: How arrays make coding easy in C++?
Q.no.4: If we are given 1-dimensional array. How can we code through single dimensional array?
danishamman
0
Newbie Poster
Recommended Answers
Jump to PostHere's some answers, each with a grain of truth, but none of which I suspect your instructor is expecting. To find the real answers I recommend you search through your notes, your book, or, if you must, search the web.
Q.no.1: What is the difference between zero and null …
Jump to PostThis smells like homework, but I'lll try to answer them anyway.
>>Q.no.1: What is the difference between zero and null values?
In c++, none. Most compilers define NULL as 0. Traditionally programmers use NULL for pointers and 0 for numeric objects, but some programmers such as Dr. Bjarne Stroustrup …
All 5 Replies
Lerner
582
Nearly a Posting Maven
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Lerner
582
Nearly a Posting Maven
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
siddhant3s
1,429
Practically a Posting Shark
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.