How can you dynamically allocate memory in C?

Answers were Sorted based on User's Feedback



How can you dynamically allocate memory in C?..

Answer / nashiinformaticssolutions

Memory can be dynamically allocated using functions like malloc(), calloc(), realloc(), and freed using free().

Is This Answer Correct ?    0 Yes 0 No

How can you dynamically allocate memory in C?..

Answer / hr@tgksolutions.com

Memory can be dynamically allocated using functions like malloc(), calloc(), realloc(), and freed using free().

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Is null a keyword in c?

1 Answers  


How to write a code for reverse of string without using string functions?

1 Answers   TCS,


What does sizeof return c?

1 Answers  


what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }

3 Answers  


What is the use of ?: Operator?

1 Answers  


Who had beaten up hooligan "CHAKULI" in his early college days?

1 Answers  


dibakar & vekatesh..uttejana here..abt ur reply for in place reversal of linked list..wats p stands for there?

1 Answers  


Can stdout be forced to print somewhere other than the screen?

1 Answers  


What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?

2 Answers  


What is the use of c language in real life?

1 Answers  


which will return integer? a) int*s ( ) b) ( int* ) s( ) c) int ( *s ) ( )

1 Answers   C DAC,


What is the translation phases used in c language?

1 Answers  


Categories