Friday, October 1, 2010

Program in c to display a statement using printf

Q)With one printf() statement, print the following pattern of output:
I am
learning C
at SITE Lab

int main()
{
printf("I am\n\tlearning C\n\t\tat SITE Lab");
getch();
return 0;
}

No comments:

Post a Comment

Google+ Followers