answersLogoWhite

0

What is null object in c plus plus?

Updated: 8/19/2019
User Avatar

Wiki User

12y ago

Best Answer

a pointer that is not pointing to anything

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is null object in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does malloc return in C and C plus plus?

Address of the allocated area, or NULL.


Why you use zero instead of NULL in c plus plus?

In C++ NULL is defined as 0. It's a design failure, will be fixed with a new 'nullptr' keyword.


What is called pointers-c plus plus?

Yes, C++ has pointers, which are references to memory locations. which are variables that store memory addresses, or NULL (zero). If the pointer is non-NULL, the pointer is said to dereference the object (or variable) residing at the stored memory address, which permits indirect access to that object so long as the object remains in scope.


What is the role of object in c plus plus?

An object in C++ is an instance of a C++ class.


What is null printer in c plus plus?

There is no such thing as a null printer in C++. You are perhaps thinking of the null device to which output can be redirected from the command line (effectively hiding the output of a program). However this has nothing whatsoever to do with C++, it is entirely dependant upon the operating system.


What is the difference between a C plus plus string and a C-style string?

A std::string is an object that encapsulates an array of type char whereas a C-style string is a primitive array with no members. A std::string is guaranteed to be null-terminated but a C-style string is not.


What is literal in c plus plus?

Examples: 1, -1, -2.5, 'a', "Hello", NULL


Which is best C or C plus plus?

depends what you use it for. c++ = object oriented c = not object oriented


Is c plus plus 100 percent object oriented?

No; C++ is not 100% object oriented.


What is object in c plus plus?

An object is simply an instance of a class.


What is the C program to print strings from A to Z and a to z?

#include<stdio.h> int main (void) { char upper[27]; // A-Z plus null terminator char lower[27]; // a-z plus null terminator char c; int i; for (i = 0, c = 'A'; c <= 'Z'; ++c, ++i) { upper[i] = c; lower[i] = c - 'A' + 'a'; } upper[i] = 0; // null-terminator lower[i] = 0; // null-terminator printf ("%s\n", upper); printf ("%s\n", lower); return 0; }


Is c plus plus an object oriented language or an object based language?

C++ is object-oriented. It is not object-based because, like C before it, C++ supports the principal of primitive data types, which are not object-based.