When you call malloc() to allocate memory for a local
pointer, do you have to explicitly free() it?
Answers were Sorted based on User's Feedback
what is the full form of c language
What are the average number of comparisons required to sort 3 elements?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
What is a pointer and how it is initialized?
main() { printf(5+"good morning"); printf("%c","abcdefgh"[4]); }the o/p is morning and e...how someone explain
How can you be sure that a program follows the ANSI C standard?
What is the difference between new and malloc functions?
Do you have any idea about the use of "auto" keyword?
Diff: between this 2 classes in terms of memory class A { int i; char c; double d; }; class A { double d; int i; char c; }; How it is calculating?
How to write a code for random pick from 1-1000 numbers? The output should contain the 10 numbers from the range 1-1000 which should pick randomly, ie ,for each time we run the code we should get different outputs.
Why is c so powerful?
Explain what are binary trees?