answersLogoWhite

0

What else can I help you with?

Related Questions

Is it true or false that assigning an address to a pointer variable is valid operation?

Pointers are meant to store adresses.


What is pointer of pointer?

pointer is the variable that holds the address of another variable


What is pointer initialization?

Assigning an initial value to a pointer variable. Example: int *p= NULL;


How do you declared and initialized a pointer variable?

#include<iostream> int main() { int x=42; int* p=&x; // declare and initialise a pointer, assigning the address of x. }


What is Four parts on declaring a pointer?

Declaring a pointer involves four key parts: Data Type: Specifies the type of data the pointer will point to (e.g., int, float, char). Asterisk (*): Indicates that the variable being declared is a pointer. Pointer Name: The identifier used to reference the pointer variable. Initialization (optional): Assigning the pointer to the address of a variable using the address-of operator (&) or setting it to nullptr for safety. For example, int *ptr; declares a pointer to an integer.


In pointers what is the use of pointer variable?

Pointer is a variable that stores the address of another variable . So pointer basically stores the address of another variable and size of pointer can be evaluated by using sizeof operator.


What is void pointer variable?

A void pointer variable is a pointer variable (of some type) that is assigned the value zero, meaning it points to address zero. Memory address zero is a reserved address, which means the pointer variable references nothing in particular.


Define pointer in C?

Pointer is a variable, A variable that stores the address of another variable. Size of a pointer is 2 bytes.


What does pointer holds?

A pointer is used for pointing to a variable. It contains the address of the variable to which it points


What is a pointer variable B?

pointer variable B holds base address of B


Define pointer to pointer in c?

Double (**) is used to denote the double pointer. As we know the pointer stores the address of variable, Double pointer stores the address of any pointer variable. Declaration : int **ptr2Ptr;


What is pointer why you use pointer?

Pointer is a variable that stores the address of another variable. Since pointer is also akind of variable, thus pointer itself will be stored at a different memory location.