#include <stdio.h>

int main(void) {
    // Allocate memory for an integer
    int* ptr = malloc(sizeof(int));
    if (ptr == NULL) {
        // Memory allocation failed
        return 1;
    }
    *ptr = 10;
    free(ptr); // Don't forget to free the memory
    printf("smsmsm");
    return 0;

}
