Learn Programming Language Step By StepLearn Programming Language Step By Step
  • Home
  • Programming
    • C Programming
    • Java Programming
  • C Programs
  • MCQ
  • Tutorials
  • Examples
  • Exams
    • Civil Services
    • Current Affairs

Table of Content

  • Index
  • Switch case labels in random order
  • Switch case outside statement
  • Use of variable in switch case
  • Expression in switch case
  • Semicolon at the end of switch
  • Misplaced continue in switch case
  • Multiple parameters in switch case label
  • Switch case MCQ 10
  • Switch case MCQ 11
  • Switch case MCQ 12
  • Switch case MCQ 13
  • Switch case MCQ 14
  • switch case objective / Interview / MCQ Questions in C Programming
  • Switch case MCQ 16
  • Switch case MCQ 17
  • Switch case MCQ 18
  • Printing Integer
  • Printing Integer
  • Sizeof Operator
  • Sizeof Operator
  • Sizeof Operator
  • Undefined Behavior of Printf Statement
  • Printf MCQ 1
  • Printf MCQ 5
  • Printf MCQ 6
  • Printf MCQ 7
  • Printf MCQ 9
  • Printf MCQ 21
  • Printf MCQ 22
  • printf MCQ 23
  • Data Type MCQ 3
  • Data Type MCQ 1
  • Data Type MCQ 2
  • Data type MCQ 4
  • Character Array MCQ 1
  • Character Array MCQ 2
  • Character Array MCQ 3
  • Character Array MCQ 4
  • Character Array MCQ 5
  • Character Array MCQ 6
  • Character Array MCQ 7
  • Character Array MCQ 8
  • Character Array MCQ 9
  • Assigning (String + Integer) to Variable
  • Character Array MCQ 11
  • Character Array MCQ 12
  • Character Array MCQ 13
  • Character Array MCQ 14
  • Switch Case Puzzle
  • C Programming MCQ - 1 [ Cannot Modify Constant Value ]
  • Switch case MCQ 15
  • Relational operators in switch case
  • Floating number in switch case
  • Printf MCQ 2
  • Printf MCQ 3
  • Printf MCQ 4
  • Printf MCQ 10
  • Function returning printf as parameter
  • Printf MCQ 24
  • Variable Name validity
  • C Printf Puzzle 1
  • C return value of main function
  • Sizeof Operator MCQ
  • Printf MCQ 8
  • No cases in switch case

switch case objective / Interview / MCQ Questions in C Programming

Pritesh2014-10-08T10:37:28+05:30

Previous Page
Next Page

  1. Example 1 : Order of cases
  2. Example 2 : Every Statement should be wrapped within any of case
  3. Example 3 : Every case label should be unique
  4. Example 4 : Constant Expression is allowed
  5. Example 5 : Variables in switch case label not allowed
  6. Example 6  : Semicolon after switch
  7. Example 7  : No Case in switch
  8. Example 8  : Misplaced Continue in switch
  9. Example 9  : Multiple numbers in case Label (use of Comma)
  10. Example 10: Shift Operators in Switch Case
  11. Example 11: #define macro-identifier in Switch 
  12. Example 12: Const variable allowed in switch label
  13. Example 13: Multiple parameters to switch case
  14. Example 14: Multiple Cases and One Break
  15. Example 15: Characters are allowed
  16. Example 16: Expressions are allowed in switch
  17. Example 17: Negative Cases are allowed
  18. Example 18: Cases may be int/char
  19. Example 19: Comparison Not allowed
  20. Example 20: Floating Cases not allowed

Previous Page
Next Page

© Copyright 2015. All Rights Reserved.

 

    • Home
    • Programming
      • C Programming
      • Java Programming
    • C Programs
    • MCQ
    • Tutorials
    • Examples
    • Exams
      • Civil Services
      • Current Affairs
    • Home
    • Programming
      • C Programming
      • Java Programming
    • C Programs
    • MCQ
    • Tutorials
    • Examples
    • Exams
      • Civil Services
      • Current Affairs