Answer Posted / guest
These are the system calles used to allocate the memory.
brk will call internally when u call malloc func.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
What should malloc(0) do?
What is a function simple definition?
What is assignment operator?
difference between native and cross compilers
What are # preprocessor operator in c?
What are the 3 types of structures?
Do you know the difference between exit() and _exit() function in c?
Explain indirection?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
Is c still relevant?
What is #include called?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
Define Array of pointers.