

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following structure declaration is correct ? |
A. | <pre class="prettyprint lang-c">struct employ<br>{<br> char name[10];<br> float salary;<br> int workingdays;<br>};<br></pre> |
B. | <pre class="prettyprint lang-c">struct employ<br>{<br> char name[10];<br> float salary;<br> int workingdays;<br>}<br></pre> |
C. | <pre class="prettyprint lang-c">struct employ<br>{<br> char name[10]<br> float salary<br> int workingdays<br>};<br></pre> |
D. | All of the above. |
Answer» B. <pre class="prettyprint lang-c">struct employ<br>{<br> char name[10];<br> float salary;<br> int workingdays;<br>}<br></pre> | |