Answer Posted / himanshu
garbage
but calloc returns zero
Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
How can I call a function with an argument list built up at run time?
What is a keyword?
How many types of functions are there in c?
Explain setjmp()?
What are the similarities between c and c++?
#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); }
What are integer variable, floating-point variable and character variable?
What are the general description for loop statement and available loop types in c?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
What is the size of enum in bytes?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
How do you do dynamic memory allocation in C applications?
Why do we use null pointer?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
What is a sequential access file?