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...


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.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here