What is the difference between calloc() and realloc()?
Answer / nashiinformaticssolutions
calloc() allocates memory and initializes it to zero.
realloc() resizes previously allocated memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a C array and illustrate the how is it different from a list.
what is a void pointer?
Should I learn data structures in c or python?
What is the use of printf() and scanf() functions?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
How can my program discover the complete pathname to the executable from which it was invoked?
main() { float a=3.2e40; printf("%d",a); }
a=0; b=(a=0)?2:3; a) What will be the value of b? why b) If in 1st stmt a=0 is replaced by -1, b=? c) If in second stmt a=0 is replaced by -1, b=?
How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal)
Q. where is the below variables stored ? - volatile, static, register
Write a program in C to print the alphabets in order as on a mobile phone.i.e:When 2 is pressed once 'a' prints and if it is pressed two times 'b' prints and so on.we have to print all the alphabets as on mobile phone like this.
What extern c means?