What is realloc in c?
No Answer is Posted For this Question
Be the First to Post Answer
what is the format specifier for printing a pointer value?
Explain what is the benefit of using #define to declare a constant?
Can the size of an array be declared at runtime?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
What is keyword in c?
Can stdout be forced to print somewhere other than the screen?
what would be the output of the follwing struct st { char name[20]; int i; float f; }; main() { struct st emp = {"forum"}; printf("%d %f",emp.i,emp.f); }
What is a char in c?
What is the difference between malloc() and calloc()?
Describe newline escape sequence with a sample program?
Write a program to check palindrome number in c programming?
What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these