1. Write a program that declares and initializes two variables x and y to 10 and 20, respectively. Use two pointers to sum these values and print the result.
2. Write a program that declares three pointers of type short *, int * and float * pointing to regular variables. Prove that the size of the pointer has no relation to the size of the variable pointed to.
3. Use pointer arithmetic to prove that the size of the char data type is 1 byte.
4. Use a pointer to print the lowercase letters of the English alphabet.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here