[N= JCC NE, I NVI NyNNNNNNNNNRRRRRRRRR RB© NOUS WNRSO®ONOUBWNRS// File 2 for the assignemnt#include #include #include int main ( )ichar xptr;ptr = malloc ( sizeof(char)=10 );strcpy (...

please follow the u=instructions below and use C language (not C++ or C#)


[N= JCC NE, I NVI Ny NNNNNNNNNRRRRRRRRR RB © NOUS WNRSO®ONOUBWNRS // File 2 for the assignemnt #include #include #include int main ( ) i char xptr; ptr = malloc ( sizeof(char)=10 ); strcpy ( ptr, "Ritu" ); printf ( "%s (%p)\n\n", ptr, ptr ); ptr = realloc ( ptr, sizeof(char)*20000 ); printf ( "%s (%p)\n\n", ptr, ptr ); ptr = realloc ( ptr, sizeof(char)*2 ); printf ( "%s (%p)\n", ptr, ptr ); return 0;
Mar 12, 2023
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here