CS 112 - Lab 2
Questions


Name: _________________________ Login: ____________________
Friday Lab Section (check one): [ ] 8:00am-11:00am

[ ] 11:10pm-2:10pm

Provide answers (on this sheet) to the questions below, and hand them to the TAs at the beginning of Lab 3 on Friday, February 14.

    
    
  1. Which Error Condition will be captured with the following statement:
    int A[100;
    
    
    
  2. Which Error Condition will be captured with the following condition:
    if( x > y ) && ( x < z ) )
    
    
    
  3. How many passes through the file datafile are needed to balance all the parentheses and square brackets?
    
    
    
  4. What does the function fopen( ) return?