what will happen if you free a pointer twice after
allocating memory dynamically ?
Answer Posted / zan
segmentation fault
| Is This Answer Correct ? | 19 Yes | 10 No |
Post New Answer View All Answers
What are register variables? What are the advantage of using register variables?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
What is the size of structure pointer in c?
Write a C program in Fibonacci series.
What is a ternary operator in c?
What is the difference between union and anonymous union?
Why & is used in scanf in c?
Can you write a programmer for FACTORIAL using recursion?
How can I pad a string to a known length?
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.
How do I round numbers?
How do I determine whether a character is numeric, alphabetic, and so on?
What is new line escape sequence?
Are pointers integers in c?
Why c is called a middle level language?