C - Control Flow Constructions
C - Control Flow Constructions
1. Structural programming approach makes use of
- modules
- control structures
- user defined data types
- all the above
2. A statement is differentiated from an expression
- by terminating it by a semicolon
- by terminating it by a newline character
- by terminating it by a NULL
- by terminating it by a blank space
9. Which is syntactically correct ?
- if (a : = 10) {.....} else if (a< 10) { ...}
- if (a = = 10) {...} else if (a<10) {....}
- if (a eq 10) { ... } else if (a < 10) {...}
- if (a.eq. 10) {...} else if ( a<10) {...}
10. Which is the correct statement ?
- printf ("Maximum = % d\n",(x.y)/? x:y);
- printf("%s \n", (mark > = 60)? "FIRST CLASS ": "NOT FIRST CLASS ") ;
- printf ("%s \n", "PASS") ;
- all the above