Friday, 3 March 2017

printing on the console

#include<stdio.h>                  
  //preprocessor directive ,stdio.h-->has printf defined in it  preprocessor directive makes the //computer compile .h  files first and then after completion it proceeds towards main

void main()                                                     //main is a function and void is a return type
{
printf("Welcome to kamath c programming tutorial\n");

 //printf is the command that prints the info in the " " and /n is the new line character
}


No comments:

Post a Comment