Search:

Type: Posts; User: mrbains

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    4,193

    Thanks for the knowledge so i tried to use it...

    Thanks for the knowledge

    so i tried to use it and wrote this code for a dynamic size stack kind of thing...



    #include<stdio.h>

    int *a;
    int top=0;
  2. Replies
    5
    Views
    4,193

    Use of malloc and realloc

    Hello everyone,
    i am studying dynamic memory allocation in c,which can be done by using malloc calloc and realloc.
    But still i don't understand the concept.
    for eg
    int *p;
    p=(int*)malloc(100);...
Results 1 to 2 of 2