Computer
Question: What will be the correct syntax of the following statement? ptr is a constant pointer to integer?
- 1. const int *ptr ;
- 2. const *int ptr ;
- 3. int const *ptr ;
- 4. int *const ptr ;
Question: Which of the following data type will be assumed if no data type is specified with constant?
- 1. short
- 2. float
- 3. int
- 4. double
Question: In __ we try to have a precise problem statement.
- 1. Analysis
- 2. Design
- 3. Coding
- 4. None of the above
Question: C is widely known as development language of __ operating system.
- 1. Linux
- 2. Unix
- 3. Windows
- 4. Mac OS
Question: Loops are __ Structure.
- 1. Decision
- 2. Sequential
- 3. Repetition
- 4. None of the above
Question: Transpose of a matrix means that when we interchange rows and columns:
- 1. the first row becomes the Last column
- 2. the first row becomes the first column
- 3. the Last row becomes the first column
- 4. the first column becomes the first row
Question: In while loop the loop counter must be initialized:
- 1. With in the loop
- 2. Before entering the loop
- 3. At the end of the loop
- 4. None of the given options
Question: RAID stands for:
- 1. Redundant Array of Inexpensive Dices
- 2. Redundant Array of Inexperience Devices
- 3. Redundant Array of Inexpensive Devices
- 4. Reduced Array of Inexpensive Devices
Question: Function prototype is written:
- 1. Within main function
- 2. After the return statement in main
- 3. Before the return statement in main
- 4. Before call of that function
Question: ofstream is used for?
- 1. Input file stream
- 2. Output file stream
- 3. Input and output file stream
- 4. All of the above