Junior instructor question and answers
- [A]Internal and External
- [B]External, Internal and None
- [C]External and None
- [D]Internal
2. Which of the following special symbol allowed in a variable name?
- [A] * (asterisk)
- [B]| (pipeline)
- [C]- (hyphen)
- [D]_ (underscore)
3.How would you round off a value from 1.66 to 2.0?
- [A]ceil(1.66)
- [B]floor(1.66)
- [C]roundup(1.66)
- [D] roundto(1.66)
4. By default a real number is treated as a
- [A] float
- [B] double
- [C]long double
- [D]far double
5. When we mention the prototype of a function?
- [A]Defining
- [B]Declaring
- [C]Prototyping
- [D] Calling
6.A float is ---------- bytes wide
- [A]2
- [B]4
- [C]6
- [D]8
7.A double is ----------bytes wide.
- [A]2
- [B]4
- [C]6
- [D]8
8. What are the different types of real data type in C ?
- [A]float, double
- [B]short int, double, long int
- [C]float, double, long double
- [D]double, long int, float
9. The operator used to get value at address stored in a pointer variable is
- [A] *
- [B]&
- [C]&&
- [D]||
10.Which bitwise operator is suitable for turning off a particular bit in a number?
- [A] && operator
- [B]& operator
- [C]|| operator
- [D]! operator