1.11. 2D array and DMA

  1. Create a two dimensional array by using DMA and access array[2][6] element. [AMD Jan-2026]
  2. What are library functions used in dynamic memory access [Mirafra Jan-2026] [Analogics-14-08-24]
  3. what is the difference between Malloc and Calloc [Mirafra Jan-2026] [Analogics-14-08-24] [People Tech Semiconductor Pvt. Ltd-24-07-2024]
  4. what is the return value of malloc ? why we need to typecast it [AMD Dec-2025]
  5. Different between static memory allocation and dynamic memory allocation[AMD Dec-2025]
  6. Write a program for 2D Array using DMA.[Vem Feb-2026]
  7. Allocate memory 20bytes dynamically and extend that memory to 15 bytes.[Vem Feb-2026]
  8. what is DMA, how do you allocate memory.[AMD 11-Feb-2026] [Analogics-14-08-24]
  9. How can we create Dynamically allocate memory ? [5G Testbed]
  10. Static Memory allocation vs Dynamic Memory allocation [5G Testbed] [Enfabrica] [People Tech Semiconductor Pvt. Ltd-24-07-2024]
  11. Example for static memory allocation [5G Testbed]
  12. difference between malloc and calloc? [5G Testbed][AMI][Hyundai Mobi’s]
  13. What does dynamic programming achieve? [5G Testbed]

    Improves space complexity and time complexity

    Sacrifices space complexity for time complexity

    Sacrifices time complexity for space complexity

    Sacrifices time complexity and space complexity

  14. what is Val grind. [5G Testbed] [Analogics-14-08-24][Enfabrica Corporation]
  15. How to use realloc as malloc? [5G Testbed]
  16. how would you compile if a dynamic library is present in your code? [5G Testbed]
  17. create a two dimensional array using pointers and allocate memory using DMA-int **a,a=malloc(3*2*sieof(int)) [AMI]
  18. Explain Memory leak and how to avoid. [AMI-06-05-2024 ] [Enfabrica Corporation] [GVS Deck Pvt Ltd]
  19. what is the difference between stack ,queue ,list? [AMI-06-05-2024 ]
  20. Explain memory layout, why heap section why not other section? [AMI-06-05-2024 ]
  21. will the memory allocation for arrays and malloc is same? [AMI-06-05-2023]
  22. Explain about Dynamic Memory Allocation? [AMI-06-05-2023] [Analogics-14-Aug-25] [Enfabrica]
  23. What is dynamic library? [AMI-06-05-2023]
  24. Explain about the memory layout in c? [AMI-06-05-2023] [Analogics-14-08-24]
  25. what about static and dynamic libraries and WAP for it? [AMI-06-05-2023] [Analogics-14-08-24]
  26. Create structure, and declare a structure variable and pointer using DMA and how to access members. [AMI-06-05-2023]
  27. what is DMA and difference between malloc and calloc. In which scenarios, we use calloc. [AMI-06-05-2023]
  28. using dynamic memory allocation implement integer 2d array x and y are row and column take x=2,y=3 [Ample Semi conductors]
  29. when you get the segmentation fault. [Enfabrica] [INFOBELL]
  30. Explain about Memory Management. [Enfabrica] [ Fervid Smart Solutions Pvt. Ltd-12-2025]
  31. what is the difference between malloc and calloc? [ Fervid Smart Solutions Pvt. Ltd-12-2025] [GVS Deck Pvt Ltd] [Webber Feb_25]
  32. using dynamic allocation memory create 2d array by using x=2,y=3? [Ample Semi conductors]
  33. explain about DMA and syntaxes of malloc ,calloc ,realloc ? [INNOBOX]
  34. IN dynamic memory allocation when malloc is allocated , where it store ? [INNOBOX]
    1- stack
    2-heap
    3-data
    4-none
  35. Where dynamic data is stored? [INNOBOX]
  36. create dynamic memory using function. [INNOBOX]
  37. create a string dynamically and take above given input as user input(scanf)
    and print the output string. [INFOBELL]
  38. What is the difference between Disk and Memory? [INFOBELL][INNOBOX]
  39. 1kb memory allocation using malloc? [Johnson Control]
  40. what is segmentation fault? [Johnson Control]
  41. How do you dynamically allocate a single-dimensional array?
  42. How do you dynamically allocate a multidimensional array?
  43. what is the difference between shared memory and message queues?
  44. what is the difference between static library and Dynamic library? [VEM Technologies 2026]
  45. what is the difference between static memory and Dynamic memory?
  46. What is Val grind. Why it is used? [People Tech Semiconductor Pvt. Ltd-14-04-25]
  47. Write Commands to Create Static and Dynamic Libraries [People Tech Semiconductor Pvt. Ltd-24-07-2024]
  48. Write a program to dynamically allocate memory and then free it. [Quanint Techsoft Private Limited]
  49. what is DMA  what are the modes of DMA. [TeraScale Inc]
  50. Dynamically allocate a 2D matrix using malloc() and calculate the transpose of the matrix. [TeraScale Inc] Example:
    Original Matrix:
    1 2 3
    4 5 6
  51. what is the Static and Dynamic memory difference [XBatteries 11-01-2025]
  52. malloc returns which pointer?[Webber Feb_25]
  53. What is the difference between realloc() and free?[VOLTY IOT Solutions 25-06-2025]
  54. Write a program for 2D Array using DMA.[VEM Technologies Feb_2026] Allocate memory 20bytes dynamically .And extend that memory to 15 bytes [VEM Technologies Feb_2026]
  55. Write a C program that uses malloc to create 5 dynamic arrays ,fills them with values, and prints the power of each element.[VEM Technologies 2025]
  56. Dynamically allocate a 2D matrix using malloc() and calculate/print the transpose of the matrix. [TeraScale]
  57. Allocate memory dynamically for a 2D array. [TeraScale]
  58. Define memory leak. Explain different scenarios that can lead to memory leaks.[Saab AB]
  59. What is a dangling pointer? Illustrate with an example.[Saab AB]
  60. Explain the functions malloc() and realloc() with suitable examples.[Saab AB]
  61. Differentiate between malloc() and calloc().[Saab AB]
  62. Describe the memory layout of a C program (stack, heap, data, and code segments).[Saab AB]
  63. Explain the behavior when the stack grows downward and the heap grows upward. [Saab AB]
  64. Consider a heap of size 1 MB. If 1200 bytes are allocated first and 100 bytes next, explain how the starting address of the second allocation is determined. [Saab AB]
  65. How do you write a program for a 2D array using DMA? [VEM Technologies 2026]