Write a program of write() function


 

/* Write a program of  write() function*/

#include<iostream.h>

#include<conio.h>

#include<string.h>

void main()

{

cout.write(“pooja”,4);

getch();

}

/* output: pooja pooj*/

Related Posts

Comments are closed.