The following code creates a hollow rectangle with 2D-Array.
int main(){
int x,y;
    for(x=0; x<11; x++)
        for(y=0; y<11; y++)
            if (x==0 || x==10 || y==0 || y==10)
                box [x][y] = '=';
            else{
                box[x][y]=' ';
            }
}
The if functions creates the border and the else functions creates the hollow space within it. 
Is it possible to do this without the letting else add blanks into my array?
Simply getting rid of the else condition fills the supposedly empty spaces full of weird characters.
 
    