what will happen if you free a pointer twice after
allocating memory dynamically ?
Answer Posted / karnik ankit
segmentation fault will be created
| Is This Answer Correct ? | 4 Yes | 9 No |
Post New Answer View All Answers
What is the difference between declaring a variable and defining a variable?
Describe explain how arrays can be passed to a user defined function
What is sizeof in c?
What is union in c?
What is difference between arrays and pointers?
Write a program to generate random numbers in c?
how to find anagram without using string functions using only loops in c programming
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What do you mean by Recursion Function?
What is a const pointer?
Explain the use of bit fieild.
Explain what is dynamic data structure?
What is the difference between local variable and global variable in c?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
What are identifiers and keywords in c?