allocate memory using pointer in c

https://w‮ttual.ww‬uri.com
allocate memory using pointer in c
/*
Example: allocate memory for pointer in C language
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <stdbool.h>
#include <errno.h>
#include <unistd.h>

int main()
{
	// Assign 20 characters
    char *c;
    c=(char(*)[20])malloc(sizeof(char)*20);
    
    return 0;
}
Created Time:2017-08-28 21:52:03  Author:lautturi