Johnson Controls Interview Question

Few C programming outputs,What is Inheritance,OOPS concept,I2C,SPI protocols in detail,In embedded systems which would you prefer array or linked list,few logical puzzle questions,