For the given struct, which of the following are incorrect initialization of struct instances (Select only two options)?

type Car struct{
    model string
    brand string
    yearOfProd int
    isInsured bool
    status string
} 

carOne := Car{"Nissan", "Silvia S15", 1996, true, "Salvage Title"}

carTwo := Car{model:"Silvia S15", brand:"Nissan", isInsured:"true", yearOfProd:1996}

carThree := Car{model:"Silvia S15", brand:"Nissan", yearOfProd:1996}

carFour := Car{"Nissan", "Silvia S15", 1996, "Salvage Title", true}

Correct Option - bd

To get all Go Programming Language - Assessment Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in