Q. If a=14, b=4 then a/b =

  • (A) 2
  • (B) 3
  • (C) 4
  • (D) 5
πŸ’¬ Discuss
βœ… Correct Answer: (B) 3

Q. If a=14, b=4 then a%b =

  • (A) 2
  • (B) 4
  • (C) 5
  • (D) 6
πŸ’¬ Discuss
βœ… Correct Answer: (A) 2

Q. If m=5, y=m++ then value of y and m would be _____ and _______

  • (A) 2 and 4
  • (B) 3 and 5
  • (C) 4 and 6
  • (D) 5 and 6
πŸ’¬ Discuss
βœ… Correct Answer: (D) 5 and 6

Q. An _______ is a fixed size sequence collection of elements of the same data type

  • (A) integer
  • (B) function
  • (C) array
  • (D) pointer
πŸ’¬ Discuss
βœ… Correct Answer: (C) array

Q. What is the action of strcat() function

  • (A) compare two strings
  • (B) concatenates two strings
  • (C) finds the length of a string
  • (D) copies one string over another
πŸ’¬ Discuss
βœ… Correct Answer: (B) concatenates two strings

Q. What is the action of strcmp() function

  • (A) compare two strings
  • (B) copies one string over another
  • (C) finds the length of a string
  • (D) cut one string over another
πŸ’¬ Discuss
βœ… Correct Answer: (A) compare two strings

Q. Automatic variable also referred to as

  • (A) Internal variable
  • (B) Global variable
  • (C) Local variable
  • (D) External variable
πŸ’¬ Discuss
βœ… Correct Answer: (A) Internal variable

Q. The precedence of member operator is _________ than all arithmatic and relational operator

  • (A) lower
  • (B) higher
  • (C) equal
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (B) higher

Q. A bit field is a set of adjacent bits whose size can be from _________ bits in length

  • (A) 1 to 8
  • (B) 1 to 12
  • (C) 1 to 14
  • (D) 1 to 16
πŸ’¬ Discuss
βœ… Correct Answer: (D) 1 to 16

Q. Which of the following function is used for sets the position to a desired point in the file

  • (A) putc()
  • (B) putw()
  • (C) fseek()
  • (D) getw()
πŸ’¬ Discuss
βœ… Correct Answer: (C) fseek()