Sail E0 Webinar

MCQs

Total Questions : 209 | Page 6 of 21 pages
Question 51. Which one of the following is not a reserved keyword for C?
  1.    case
  2.    auto
  3.    register
  4.    main
  5.    default
 Discuss Question
Answer: Option D. -> main
Question 52. C was primarily developed as
  1.    Data processing language
  2.    None of these
  3.    System programming language
  4.    General purpose language
 Discuss Question
Answer: Option C. -> System programming language
Question 53. C programs are converted into machine language with the help of
  1.    An Editor
  2.    A compiler
  3.    An operating system
  4.    None of these.
 Discuss Question
Answer: Option B. -> A compiler
Question 54. Standard ANSI C recognizes ______ number of keywords?
  1.    36
  2.    40
  3.    30
  4.    32
  5.    24
 Discuss Question
Answer: Option D. -> 32
Question 55. A C variable cannot start with
  1.    Both of the above
  2.    A number
  3.    A special symbol other than underscore
  4.    An alphabet
 Discuss Question
Answer: Option A. -> Both of the above
Question 56. If integer needs two bytes of storage, then maximum value of an unsigned integer is
  1.    215
  2.    215 – 1
  3.    216 – 1
  4.    None of these
  5.    216
 Discuss Question
Answer: Option C. -> 216 – 1
Question 57. What is the correct value to return to the operating system upon the successful completion of a program?
  1.    2
  2.    1
  3.    Program do no return a value.
  4.    -1
 Discuss Question
Answer: Option C. -> Program do no return a value.
Question 58. What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); }
  1.    haasi
  2.    hai
  3.    asiha
  4.    None of these
  5.    absiha
 Discuss Question
Answer: Option B. -> hai
Question 59. Which is the only function all C programs must contain?
  1.    printf()
  2.    main()
  3.    start()
  4.    system()
  5.    getch()
 Discuss Question
Answer: Option B. -> main()
Question 60. Which one of the following is not a valid identifier?
  1.    exam_veda
  2.    1examians
  3.    _examians
  4.    examians1
 Discuss Question
Answer: Option B. -> 1examians

Latest Videos

Latest Test Papers