How can you dynamically allocate memory in C?
Answers were Sorted based on User's Feedback
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 |
Memory can be dynamically allocated using functions like malloc(), calloc(), realloc(), and freed using free().
| Is This Answer Correct ? | 0 Yes | 0 No |
Which of the following are valid "include" formats? A)#include and #include[file.h] B)#include (file.h) and #include C)#include [file.h] and #include "file.h" D)#include <file.h> and #include "file.h"
How we can write a value to an address using macro..?
What are the features of c language?
Which one would you prefer - a macro or a function?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Find Error if any in below code, Justify ur answer: struct xx { int a; struct yy { char c; struct xx* p; } struct yy* q; }
Which is best book for data structures in c?
a=0; b=(a=0)?2:3; a) What will be the value of b? why b) If in 1st stmt a=0 is replaced by -1, b=? c) If in second stmt a=0 is replaced by -1, b=?
why program counter is 16 bit?
Why is event driven programming or procedural programming, better within specific scenario?
What is cohesion in c?
What is #define size in c?