Add CT331 Programming Paradigms

This commit is contained in:
2023-12-07 01:33:53 +00:00
parent 38a012c323
commit 262614ce83
207 changed files with 4516 additions and 0 deletions

View File

@ -0,0 +1,15 @@
#include <stdio.h>
int main() {
int my_int;
int* my_int_pointer;
long my_long;
double * my_double_pointer;
char ** my_char_pointer_pointer;
printf("The size of my_int is %lu bytes\n", sizeof(my_int));
printf("The size of my_int_pointer is %lu bytes\n", sizeof(my_int_pointer));
printf("The size of my_long is %lu bytes\n", sizeof(my_long));
printf("The size of my_double_pointer is %lu bytes\n", sizeof(my_double_pointer));
printf("The size of my_char_pointer_pointer is %lu bytes\n", sizeof(my_char_pointer_pointer));
}