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 the difference between single charater constant and string constant?
What is the purpose of sprintf?
Explain setjmp()?
What is the best way of making my program efficient?
6. Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()
In C language, a variable name cannot contain?
what is printf
what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }
Why is it important to memset a variable, immediately after allocating memory to it ?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
Write a program in c to input a 5 digit number and print it in words.
can we declare a function in side the structure?