Question: 1. Which is the correct name of a variable in C language A. 3L C. size-length B. size.length D. length3 2. An array a is

 1. Which is the correct name of a variable in C

1. Which is the correct name of a variable in C language A. 3L C. size-length B. size.length D. length3 2. An array a is initialized as: int all - 10.9.8,7,6 What is value of element a/4)? A. 6 To use built-in function sin(x). which of the library should be included? A. cstdlib B. 7 C. 8 D. 9 3. B. cstdio D ctime -b+vb-4ac 2a C. cmath 4. Which is the equivalent C statement of math formaular x = ? D. x=(-b-sqrt(b*b-4*a"c)),20: 5. The symbol used to mark the beginning of comments is? A. What is the correct statements for open file data.txt for reading C. 6. ifstream input ifstream input 7. How the constants are declared? ofstream input; A. irput.open ("data.txtB. input.open("data.tx) C. input. fopen("data.txt" ifstream input; D. input.close( data.txt") A. const kexyword C. both const keyword and tdefine preprocessor Which looping process is best used when the number of iterations is known? A. Cdowhile B. "define preprocessor D. none of the mentioned s. B. while D. all looping processes require that the iterations be known Page 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!