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

please explain every phase in the "SDLC" in the dotnet.

0 Answers  


Bit swapping

2 Answers  


What are structure members?

0 Answers  


what is difference between procedural language and functional language ?

4 Answers   Wipro,


In which header file is the null macro defined?

0 Answers  


enum { SUNDAY, MONDAY, TUESDAY, }day; main() { day =20; printf("%d",); getch(); } what will be the output of the above program

1 Answers  


different between overloading and overriding

3 Answers  


Explain how do you search data in a data file using random access method?

0 Answers  


What is the use of the #include directive?

3 Answers  


Is it fine to write void main () or main () in c?

0 Answers  


what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above

3 Answers   Accenture, Infosys, Wipro,


main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }

8 Answers   Vector,


Categories