what will happen if you free a pointer twice after
allocating memory dynamically ?
Answer Posted / manoj
Nothing will happen. program will run fine.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Write a code to generate a series where the next element is the sum of last k terms.
Do you know pointer in c?
What are two dimensional arrays alternatively called as?
Define circular linked list.
What is identifiers in c with examples?
Why we use conio h in c?
Is int a keyword in c?
What is a stream?
Explain what is a static function?
Which is best linux os?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
Write a code on reverse string and its complexity.
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
Are the expressions * ptr ++ and ++ * ptr same?
What is const volatile variable in c?