C program to print size of different types of pointer variables.
Gapfill exercise
Solution
#include
int main()
{
printf("\nsize of char pointer: %d" ,
[?]
(char*));
printf("\nsize of int pointer: %d" ,
[?]
(int*));
printf("\nsize of float pointer: %d" ,
[?]
(float*));
printf("\nsize of long int pointer: %d" ,
[?]
(long int*));
printf("\nsize of double pointer: %d\n" ,
[?]
(double*));
return 0;
}
Solution
OK