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
Why static is used in c?
What is sorting in c plus plus?
What is the maximum no. of arguments that can be given in a command line in C.?
Why is sizeof () an operator and not a function?
Explain what is the difference between a string and an array?
What are run-time errors?
What is ponter?
What is the description for syntax errors?
Explain what is the benefit of using #define to declare a constant?
What is the use of ?
given post order,in order construct the corresponding binary tree
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
what do you mean by inline function in C?
Why c is called free form language?
What is the difference between struct and typedef struct in c?