51.Explain the role of break statement in switch case. What happens if break statement is not used in any case of switch statement? Break statement is used to skip the part of code in switch case statement. When one case …
121.What are the different errors during file I/O operations? How are errors handled during different file operations? Only few, out of many, errors during file I/O operations are listed below: •No such file or directory •Permission denied •Bad file number …
1. Describe briefly about FORTRAN programming language. Write its uses and application. FORTRAN is an acronym for FORmula TRANslation. It was designed to allow easy translation of math formulas into code. It was the first high-level language, using the first compiler ever …
111.When are array of structure used? Illustrate the difference in passing a single structure and array of structure to a function with example. When it is required to work with list of records containing various information, array of structure are …
91. Explain about array declaration and initialization for different data types. The array declaration and initialization for different data types are listed below: •One dimensional Array: ▪Declaration: data_type array_name[size]; ▪Examples: int num[5]; char list[10]; float marks[20]; ▪Initialization at declaration: oint …
