Sail E0 Webinar

MCQs

Total Questions : 42 | Page 4 of 5 pages
Question 31. Which of the following is not logical operator?
  1.    &
  2.    &&
  3.    ||
  4.    !
 Discuss Question
Answer: Option A. -> &
Question 32. What punctuation is used to signal the beginning and end of code blocks?
  1.    { }
  2.    -> and
  3.    BEGIN and END
  4.    ( and )
 Discuss Question
Answer: Option A. -> { }
Question 33. Fill in the blanks to display the result of the multiplication of x and y
  1.    *.....z
  2.    mul........z
  3.    *......y
  4.    -.......x
 Discuss Question
Answer: Option A. -> *.....z
Question 34. Which following statement is true?
  1.    Congratulation is the feeling of being grateful
  2.    Congratulation is an arrangement, a promise
  3.    Congratulation is something that you say or do to greet
  4.    Congratulation is the act of expressing joy or acknowledgement, as for achievement
 Discuss Question
Answer: Option D. -> Congratulation is the act of expressing joy or acknowledgement, as for achievement
Question 35. Which of the following cannot be a structure member?
  1.    Another structure
  2.    Function
  3.    Array
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Function
Question 36. Objects cannot be created for _________ class
  1.    normal
  2.    student
  3.    abstract
  4.    struct
 Discuss Question
Answer: Option C. -> abstract
Question 37. Input/output function prototypes and macros are defined in which header file?
  1.    conio.h
  2.    stdlib.h
  3.    stdio.h
  4.    dos.h
 Discuss Question
Answer: Option C. -> stdio.h
Question 38. What is the default return type if it is not specified in function definition?
  1.    void
  2.    int
  3.    double
  4.    short int
 Discuss Question
Answer: Option B. -> int
Question 39. When does the code block following while(x<100) execute?
  1.    When x is less than one hundred
  2.    When x is greater than one hundred
  3.    When x is equal to one hundred
  4.    while it wishes
 Discuss Question
Answer: Option A. -> When x is less than one hundred
Question 40. Int main(){ int a = 10, b = 25; a = b++ + a++; b = ++b + ++a; printf("%d %d n", a, b);}
  1.    36 64
  2.    35 62
  3.    36 63
  4.    30 28
 Discuss Question
Answer: Option C. -> 36 63

Latest Videos

Latest Test Papers