answersLogoWhite

0

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.

User Avatar

Wiki User

12y ago

What else can I help you with?

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 null object in c plus plus?

a pointer that is not pointing to anything


What is literal in c plus plus?

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


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; }


How do you check Address of integer in c plus plus?

void myfun (int *pi){if (i==NULL) printf ("check failed");}


C plus plus code to find the length of a string without using function?

int i = 0; while(str[i] != NULL){ i++; }


How do you bring up a HTML document for a Windows Vista?

From a C-program?ShellExecute (NULL, "open", "C:\DIR\INDEX.HTML", NULL, NULL, SW_SHOW);


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.


In PHP a null value plus a number value is equals to what result. example null plus 6 equals?

In php mathmatical operations treat null like 0, so any number plus null equals itself. For example #!/usr/local/bin/php printf ("%d\n", null+6); printf ("%d\n", 6+null); ?> output: 6 6


How will you declare null pointer in C?

#define NULL ((void *)0) /* defined in <stddef.h> */ const char *mynullvar = NULL;


What is the largest number in a data set?

It's the maximum.Probably C, the continuum.The cardinality (count) of the infinite set of integers is Aleph-null. Then C = 2^(Aleph-null).