What will happen when freeing memory twice
Answers were Sorted based on User's Feedback
Answer / veeresh
Memory is the very valuable, if we leave memory freely then
memory will be wasted and cant be used.
| Is This Answer Correct ? | 0 Yes | 3 No |
Struct(s) { int a; long b; } Union (u) {int a; long b; } Print sizeof(s)and sizeof(u) if sizeof(int)=4 and sizeof(long)=4
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
what is the difference between : func (int list[], ...) or func (int *list , ....) - what is the difference if list is an array and if also if list is a pointer
When should volatile modifier be used?
write a program whose output will be- 1 12 123 1234
What are void pointers in c?
how to swap two integers 1 and 32767 without using third variable
Write a code to remove duplicates in a string.
#include<conio.h> #include<stdio.h> void main() { int i; if(1,0,2,3) { printf("if"); } else { printf("else"); } getch(); } Can any body tell the answer of this question with explanation?
Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc
What is wild pointer in c with example?
void main() { for(; 0 ;) ... { printf("hello"); ... } getch(); }