Explain the difference between malloc() and calloc() function?


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

Post New Answer

More C Interview Questions

Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

0 Answers   Infosys,


Explain modulus operator.

0 Answers  


What are local static variables? How can you use them?

0 Answers  


What do you mean by keywords in c?

0 Answers  


Why the use of alloca() is discouraged?

2 Answers   Oracle,


Can we use any name in place of argv and argc as command line arguments?

0 Answers  


CopyBits(x,p,n,y) copy n LSBs from y to x starting LSB at 'p'th position.

9 Answers   Adobe,


What are examples of structures?

0 Answers  


How can I determine whether a machines byte order is big-endian or little-endian?

0 Answers  


Write a program which returns the first non repetitive character in the string?

0 Answers   Expedia,


how we can say java is platform independent, while we require JVM for that particular Operating System?

3 Answers   Honeywell, TCS,


What is #include stdlib h?

0 Answers  


Categories