C Programming Questions Answers - Chapter 1
-
8. Which operator has the highest priority
- ()
- []
- *
- /
Answer :
Option A
-
9. Difference between structure and union is
- We can define functions within structures but not within a union
- We can define functions within union but not within a structure
- The way memory is allocated
- There is no difference
Answer :
Option C
-
10. What is prototype of a function in C
- It is the return type of a function
- It is the return data of the function
- It is declaration of a function
- It is a datatype
- 119133
- 119233
- 119333
- 119433
Answer :
Option
-
11. To access the members of structure which symbol is used
- *
- -
- ,
- .
Answer :
Option D
-
12. rand() function returns
- float value
- integer value
- any type
- none of above
Answer :
Option B
-
13. What is correct order of precedence in C
- Addition, Division, Modulus
- Addition, Modulus, Division
- Multiplication, Substration, Modulus
- Modulus, Multiplication, Substration
Answer :
Option D
-
14. Break statement is used for
- Quit a program
- Quit the current iteration
- Both of above
- None of above
Answer :
Option B