answersLogoWhite

0

Just like any other variable. Example:

char *p = NULL;

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Pointers to review in a napolcom examination?

government functions


What is meant by passing function to another function in c plus plus?

Just as pointers can point to variables, pointers can also point to functions. Thus you can pass function pointers to functions. In so doing, you can alter the behaviour of the function by having it call dynamically call arbitrary functions rather than just preset functions.


What is virtual function table?

A virtual function table is a table of pointers to functions.


What are functions and pointers in c?

function-these are self contained block of statements to solve a particular task whereas pointers are defined as the variable which stores the address of another variable


Write a program to illustrate the usage of pointers with arrarys and functions?

* * * * * * * * * * write the c++ program and show me brifily?


How do you write c program to perform sum of elements of matrix using pointers with functions?

i cant write


What are the basic parts of the c language?

That would include header files, data types, loops, functions, pointers, arrays


Where are array of functions used?

Function Pointers are basically used when we want to select a function which is to be used dynamically at run time.


What is the source code for attendance record system in c language using pointers functions arrays whichever required?

bmbmbvjmgjmgj


What does Reinitialize mean?

To initialise again.


What is the difference between pointer and function?

Pointers and functions are two entirely different things, similar to comparing cats to oranges. A pointer allows a program to dynamically call functions and/or dynamically load or store data. Pointers are commonly called "dangerous" in most programming circles, which is why newer languages do not explicitly allow programmers to access them (although they may use them internally). They are dangerous because a pointer used incorrectly can corrupt data or crash a system (or at least an application). While this is true, they are not dangerous by themselves, it is the novice programmer's misunderstanding of pointers that is dangerous. Functions are pieces of code that can be used over and over again in various parts of a program without duplicating code. For example, a function that calculates simple interest might be used in several parts of a banking application. This way, if a bug was found in how simple interest was calculated, it could be fixed just once instead of scanning the entire code base to make sure it was fixed everywhere. Functions reduce source code size, executable size, and memory usage. Pointers can dynamically call functions, while functions are pieces of code that can execute. Functions have no concept of pointers, and do not care from where they are called.


How to perform string operations like concatenation compare etc without using built in functions?

performing string operation using pointers