What is dynamic memory allocation?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Can you please explain the difference between malloc() and calloc() function?

0 Answers  


In a switch statement, what will happen if a break statement is omitted?

0 Answers  


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

0 Answers  


How would you rename a function in C?

0 Answers   Tech Mahindra,


What is const and volatile in c?

0 Answers  






Find string palindrome 10marks

5 Answers   Honeywell, Infosys, Riktam, Roland,


What is the difference between GETS();AND SCANF();

4 Answers   TCS,


Is both getch() and getchar() functions are similar? if it is similar means why these two functions are used for same usage? if it is not similar means what is the difference?

1 Answers   Infosys,


Which is better oop or procedural?

0 Answers  


You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.

2 Answers   Microsoft,


Write a program to find whether the given number is prime or not?

6 Answers  


which is the best antivirus and how to update it

7 Answers   Infosys,


Categories