A solution of MCQ CPTC 2018 ODD SBTE Bihar
1. C Language has developed by
Answer Dennis Ritchie in 1972
2. The sign "#" of the compiler directive must appear at the ___ of a line
Answer Beginning
3. Which function is used to release the memory allotted in dynamic memory allocation?
Answer Delete
4. The ___ statement causes the loop to be terminated.
Answer Break
5. Logical Operator
Answer && ,|| , !
6. If 'a' is an integer variable, then a = 5/2; will return a value
Answer 2
7. Which of the following is false in 'C'.
Answer Keywords can be used as variable names
8. Which of the following is the correct way of declaring a float pointer?
Answer float*ptr ;
9. which committee standardizes the' programming language?
Answer ANSI
10.Which of the following can not be checked in a switch-case statement?
Answer float
11. Which of the statement we need to write to check any condition?
Answer IF
12. Which of the following is not an example of a Looping Statement?
Answer Switch
13. Which one of the following a bitwise operator?
Answer <<
14. Find out the output for the following program.
Main()
{
do
printf ("I am in loop");
while (4<3);
}
Answer I am in the loop
16. An "int" data type requires;
Answer 2 bytes
18. "!=" represent
Answer Not equal to
19. Member of union use :
Answer It is a special data type available in C that allows storing different data types in the same memory location
20. ASCII Value of 'A' is
Answer 65
0 Comments