In this tutorial you will learn pointer syntax, working, advantages and disadvantages with lot of pointer exercises and examples with their solution's.
Definition: In simple words pointer is a variable that stores address (memory location) of another variable's. This means that a pointer holds the memory address of another variable.
There are two main operator's used in pointer:
1. Reference operator &
2. Dereference operator *
Exercises and Solutions of Pointers in C:
Write a C program to perform all arithmetic operations using pointers.
Write a C program to find maximum between two numbers using pointers.
Write a C program to concatenate two strings using pointers.
keep visiting...keep learning... :)
No comments:
Post a Comment
If you have any doubts, please discuss here...👇