Tutorial-6

 1. Write a program that prints the following text at the terminal.

  • In C, lowercase letters are significant. 
  • main is where program execution begins. 
  • Opening and closing braces enclose program statements in a routine. 
  • All program statements must be terminated by a semicolon.

2. What output would you expect from the following program? 

#include <stdio.h>

          int main (void) 
          

                printf ("Testing..."); 
                printf ("....1"); 

                printf ("...2"); 
                printf ("..3"); 

                printf ("\n");
                return 0; 

 } 

Post a Comment

0 Comments