- Write a short C program that declares and initializes (to any value you like) a double, an int, and a char. Next declare and initialize a pointer to each of the three variables. Your program should then print the address of, and value stored in, and the memory size (in bytes) of each of the six variables.
- Write a C program to add two matrix using pointers. Please input two matrix from user and find sum of both matrices using pointers.
Enter m & n:3
Enter 1 matrix:
12 23 45
A3 56 89
34 55 6
Enter 2 matrix:
12 34 22
33 56 90
23 51 79
24 57 67
76 112 179
57 106 85
- Write a program that reads a message, then checks whether it’s a palindrome (the letters in the message are the same from left to right as from right to left).
Enter a message: He lived as a devil, eh?
Enter a message: Madam, I am Adam.
Not a Palindrome
Write pseudocode to solve the given problems.
Write C program to solve the above problems. Name your file Lab7_YourName.c