Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 521 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 521 Bytes

pointers, this is deals with one of the function of pointers in c programs

Examples to initialize pointer variable

int num = 10; int *ptr = # // Assign address of num to ptr

// You can also assign a pointer variable to another int *ptr1 = ptr; // Initialize pointer using another pointer

How pointers are stored in memory

int num = 10; int *ptr = #

Strcpy is the most commonly used function in strings.

It is a standard library function that is declared in string.h header file