[Tutorial 6 ] 4. 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;
}


OUTPUT =>

Testing.......1...2..3


This C program defines a main() function that sequentially prints out the strings "Testing...", "....1", "...2", and "..3" each on a separate line using the printf() function. It concludes with a newline character. The program then returns 0, indicating successful execution to the operating system.

Comments

Popular posts from this blog

Introduction To C

First C Program

Compilation process in c