So if you had just
char name[MAX];
without any of the dynamic allocation, would you know what to do?
If so, you already have the answer - dynamic allocation doesn't change how you solve the...
Type: Posts; User: Salem
So if you had just
char name[MAX];
without any of the dynamic allocation, would you know what to do?
If so, you already have the answer - dynamic allocation doesn't change how you solve the...
So what does "WITHOUT USING a bracketed subscript" allow you to do?
Is replacing
ptr[i]
with
*(ptr+i)
allowed?