fork download
  1. #import <Foundation/Foundation.h>
  2.  
  3. int main( int argc, const char * argv[ ] ) {
  4. /* local variable definition */
  5. int a = 18;
  6.  
  7. /* while loop execution */
  8. while( a < 20 ) {
  9. NSLog(@"value of a: %d\n", a);
  10. a++;
  11. }
  12.  
  13. return 0;
  14. }
Success #stdin #stdout #stderr 0.03s 42848KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
2016-05-02 11:32:28.612 prog[17643] value of a: 18
2016-05-02 11:32:28.614 prog[17643] value of a: 19