answersLogoWhite

0

What is null point in C programming?

Updated: 8/19/2019
User Avatar

Wiki User

13y ago

Best Answer

I'm going to go out on a limp here, and guess you mean "Null Pointer." Well, it's a pointer to nothing. For most systems, it's 0, but rather use NULL instead.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is null point in C programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why do you need a terminating null character at the end of the every string in C programming?

Because the null character represents the end of the string.


Why is c string defined as an array?

Every programming language treats strings as arrays. A C string is defined as being a null-terminated array of characters. A C string that does not have a null-terminator is just an array of character values, but without a null-terminator the onus is upon the programmer to keep track of the array's length.


What symbol or character determines end of string?

In C programming language, a string is an array of characters which is always terminated by a NULL character: '\0'


What is the difference between a null pointer and a null macro?

Using a NULL macro to make C portableI'll assume that you're asking your question for C type language programming. A NULL pointer is a pointer that's guarnteed to point to nothing. This may be 0 in a UNIX/Linux system or some other address in another system. Using the NULL macro to set/initialize your pointers will make your programs more portable among systems than using something like the 0.#include char *c = 0; // initialize to NULL--not portablechar *p = NULL; // initialize to NULL as defined in stdio is portableAddendumThe code:char *c = 0;actually is portable because the compiler converts 0's used in a pointer context (cast to a pointer) to the machine's representation of a NULL pointer, which may or may not be all 0 bits. The NULL macro itself might be defined as something like 0 or (void *)0, and both definitions are portable. As a corollary, the following code is also portable:if (!c) {// do something}because it is equivalent to:if (c != 0) {// do something}and the 0 above is converted to a NULL pointer because it is being compared with a pointer.


What is null on FarmVille?

its just an programming error in farmville .it would soon be alright null definition in Programming : A special value used in several languages to represent the thing referred to by an uninitialised pointer/database


What is null in Farmville?

its just an programming error in farmville .it would soon be alright null definition in Programming : A special value used in several languages to represent the thing referred to by an uninitialised pointer/database


What is the definitioN of null?

ts just an programming error in farmville .it would soon be alright null definition in Programming : A special value used in several languages to represent the thing referred to by an uninitialised pointer


What is the null in Farmville?

its just an programming error in farmville .it would soon be alright null definition in Programming : A special value used in several languages to represent the thing referred to by an uninitialised pointer/database


What is the use of null pointer?

Pointer is a variable that stores address of a variable . A NULL Pointer a pointer that doesn't point to anything, it is a literal zero .Some people ,notably C++ programmers, prefer to use 0 rather than NULL.


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 does a null represent in FarmVille?

ts just an programming error in farmville .it would soon be alright null definition in Programming : A special value used in several languages to represent the thing referred to by an uninitialised pointer


How do you purchase the null in FarmVille what will you do?

its just an programming error in farmville .it would soon be alright null definition in Programming : A special value used in several languages to represent the thing referred to by an uninitialised pointer/database