Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
No Answer is Posted For this Question
Be the First to Post Answer
What is ## preprocessor operator in c?
write a program that will read the temperature in Celsius and convert that into Fahrenheit.
write a program to print infinte number
What is gets() function?
Write a program to print this triangle: * ** * **** * ****** * ******** * ********** Don't use printf statements;use two nested loops instead. you will have to use braces around the body of the outer loop if it contains multiple statements.
Find errors (1) m = ++a*5; (2) a = b ++ -c*2; (3)y = sqrt (1000);
What is a lookup table in c?
Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????
FILE PROGRAMMING