GURU NANAK DEV CO-ED POLYTECHNIC

GURU NANAK DEV CO-ED POLYTECHNIC
MAIN BULIDING

Thursday, 25 August 2011

C-PROGRAMMING for Electronics & Comm. Students




PROG IN 'C'
MY FIRST PROGRAM IN "C"

PROGRAM-01

AIM:-To write a simple program in "C" to explain the functions of 'printf & getchar' commands

PROGRAM:

/* My First Program in 'C'*/

#include <stdio.h>

main()
{

printf("HELLO WORLD");

getchar();

}





OUTPUT:- HELLO WORLD


RESULT:- Thus a simple program in 'C is written & executed