πŸ“Š Programming for Problem Solving
Q. What Is The Work Of Break Keyword?
  • (A) Halt Execution Of Program
  • (B) Restart Execution Of Program
  • (C) Exit From Loop Or Switch Statement
  • (D) all
πŸ’¬ Discuss
βœ… Correct Answer: (C) Exit From Loop Or Switch Statement
πŸ“Š Programming for Problem Solving
Q. Which One Of The Following Sentences Is True ?
  • (A) The Body Of A While Loop Is Executed At Least Once.
  • (B) The Body Of A Do ... While Loop Is Executed At Least Once.
  • (C) The Body Of A Do ... While Loop Is Executed Zero Or More Times.
  • (D) A For Loop Can Never Be Used In Place Of A While Loop.
πŸ’¬ Discuss
βœ… Correct Answer: (B) The Body Of A Do ... While Loop Is Executed At Least Once.
πŸ“Š Programming for Problem Solving
Q. Int Main()
{
Extern Int I;
I = 20;
Printf("%D", Sizeof(I));
Return 0;
}
  • (A) 20
  • (B) 0
  • (C) Undefined Reference To I
  • (D) Linking Error
πŸ’¬ Discuss
βœ… Correct Answer: (C) Undefined Reference To I
πŸ“Š Programming for Problem Solving
Q. //This Program Is Compiled On 32 Bit DEV-C++
Int Main()
{
Char *Ptr1, *Ptr2;
Printf("%D %D", Sizeof(Ptr1), Sizeof(Ptr2));
Return 0;
}
  • (A) 1 1
  • (B) 2 2
  • (C) 4 4
  • (D) none
πŸ’¬ Discuss
βœ… Correct Answer: (C) 4 4

Jump to