0

How should I define the function size_of so that it will return me 25, size of array A from pointer p.

#include <stdio.h>
#include <string.h>

int main()
{
    char A[25], B[]="My String";
    strcpy(A, B);
    size_of(A);
    return 0;
}

int size_of(char *p)
{


}
Abin John Thomas
  • 159
  • 2
  • 13

0 Answers0