Searched refs:malloc_ptr (Results 1 – 2 of 2) sorted by relevance
10 int *malloc_ptr = (int *)malloc(n * sizeof(int)); in main() local12 if (malloc_ptr != NULL) in main()17 malloc_ptr[i] = i + 1; in main()21 malloc_ptr = (int *)realloc(malloc_ptr, new_n * sizeof(int)); in main()24 malloc_ptr[i] = i + 1; in main()27 free(malloc_ptr); in main()
7 (gdb) print_ptr malloc_ptr37 To handle pointer offset, for eg, (gdb) print_ptr malloc_ptr + 3