Function that prints a report header using the \t escape sequence to print a tab between words. - C Function

C examples for Function:Function Definition

Description

Function that prints a report header using the \t escape sequence to print a tab between words.

Demo Code

#include <stdio.h> 

void printReportHeader();  //function prototype 

int main() { //from   w w w  .  ja v a 2s  . c  o m
   printReportHeader(); 
} 

//function definition 
void printReportHeader() 
{ 
   printf("\nColumn1\tColumn2\tColumn3\tColumn4\n"); 
}

Result


Related Tutorials