Home
Source Codes
Engineering Colleges

Training  Reports
Seminar Reports
Placement Papers

Forums

   Computer Science / IT
   Electronics
   Electrical
   Mechanical
   Chemical
   Civil

   CAT / MBA

   GMAT / Foreign MBA
Latest Jobs

Engineering Jobs / Technical Jobs
Management Jobs

Sitemap
Terms of use

Displaying  Source Code(s)  
 

 
Write a function called display(char *) that displays a message

--------------------------------------------------------------------------------



/*
* Write a function called display(char *) that displays a message
*/

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

void display(char *);

int main(void)
{
int N;
int i;

printf("
Enter the Number Of Time You Want To Print : ");
scanf("%d", &N);

for (i = 0; i < N; i++)
display("Unix Programming Lab");

printf("<BR>);
return(0);
}

void display(char *str)
{
printf("
%s", str);
}
 

 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved © copyright 123ENG