How can I dynamically allocate arrays?


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

Post New Answer

More C Interview Questions

What is the benefit of using an enum rather than a #define constant?

0 Answers  


what is the difference between c and c++?

7 Answers  


Why void main is used in c?

0 Answers  


How can I delete a file?

0 Answers  


What is volatile

2 Answers  






I heard that you have to include stdio.h before calling printf. Why?

0 Answers  


1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?

0 Answers  


What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }

8 Answers   ADITI, Adobe,


How do we select the big element or any other operation from array which is read dynamically. user need to give the elements only no need to mention the size.

0 Answers  


What is typedef struct in c?

0 Answers  


what is difference between c and c++

4 Answers  


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

0 Answers  


Categories