What is the output of the below code snippets ?import React from 'react';import ReactDOM from 'react-dom';const Component=()=>{ return <h1>This is Quiz Portal</h1>} ReactDOM.render( <Component />, document.getElementById("root"));(A) Component(B) This is Quiz Portal(C) Error in code(D) None of the above
View Answer