how to initialize Empty array in stuct [Solidity]

how to initialize Empty array in stuct [Solidity]

I am suffering to initialize an empty array for struct when a struct is made.

I am suffering to initialize an empty array for struct when a struct is made.

pragma solidity ^0.5.1;

contract Board {

//storage
Post[] posts;

//struct
struct Post {
    address author;
    string title;
    string content;
    Comment[] comments;
}

struct Comment {
    address author;
    string comment;
}

//add-post
function addPost(address _author, string memory _title, string memory _content) public {
    posts.push(Post(_author, _title, _content, /* HERE IS THE PROBLEM POINT */));
}

}

I want to initialize the comments(struct member) with Empty Array(Type: Comment). Which code should I use for The Problem Point??

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

Learning Solidity

Solidity is a high-level language used to implement smart contracts. This is an object oriented language designed to target the Ethereum Virtual Machine. Let's explore it!

What is in a block? - Blockchain

In my previous article, I tried to described the concept of a blockchain with code. This time, I'll try to describe the structure of a single block. I will use the Bitcoin blockchain to explain blocks, but keep in mind that the concepts will remain more or less the same. It could be useful to read my&nbsp;<a href="https://dev.to/damcosset/trying-to-understand-blockchain-by-making-one-ce4" target="_blank">last article</a>to understand a few things first.