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 |
#include<stdio.h> #include<conio.h> void main() { char ch='\356'; printf("%d",ch); } o/p=-18 why?plz.explain
Explain void pointer?
What are different types of pointers?
I came across some code that puts a (void) cast before each call to printf. Why?
If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.
what is the difference between structure and union?
what do structure language means?
What is the purpose of type declarations?
Can we assign integer value to char in c?
how to execute with out main in cprogram
Define C in your own Language.
What are the data types present in c?