-
What is const pointer in C?
What is const pointer in C?
-
Const pointer is a pointer that can’t change the address of the variable that is pointing to. Once const pointer is made to point one variable we can’t change this pointer to point to any other variable. This pointer is called const pointer.
-
Registered
The constant pointer cannot modified,the modification made in pointer is not allowed example a const pointer means pointer which address one value if you declare a point inside a function not have scope in outside function.
syntax:
data_type*const pointer_name=initial_address.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks