Earn free bitcoin

In Construction

Coming soon new slides.

In Construction

Coming soon new slides.

In Construction

Coming soon new slides.

In Construction

Coming soon new slides.

In Construction

Coming soon new slides.

10 March 2018

How to use comments

#include<stdio.h>
#include<conio.h>
main()
{
//clrscr();  //clears the screen
printf("This program explains comments"); /*how to use comment*/
}







Output:-This program explains comments
--------------------------------
Process exited after 0.01003 seconds with return value 0
Press any key to continue . . .

Explanation:-
// use for single line comment
/* use for multiple line comment*/
// clrscr(); not support in dev c++ compiler,defined in header file <conio.h>

Thank you

How to use comments

#include<stdio.h>
#include<conio.h>
main()
{
//clrscr();  //clears the screen
printf("This program explains comments"); /*how to use comment*/
}


Output:-This program explains comments
--------------------------------
Process exited after 0.01003 seconds with return value 0
Press any key to continue . . .

Explanation:-
// use for single line comment
/* use for multiple line comment*/
// clrscr(); not support in dev c++ compiler,defined in header file <conio.h>

Thank you

Write a program to display message

#include<stdio.h>
#include<conio.h>
main()
{
printf("Programmers World");
}


Output:-Programmers World
--------------------------------
Process exited after 0.02109 seconds with return value 0
Press any key to continue . . .


Explanation:-
/* This program displays the message PROGRAMMERS WORLD, Using the printf() statement*/