We can draw a box in cprogram by using only one printf();&
without using graphic.h header file?

Answer Posted / parmjeet kumar

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("\n______________\n|______________|");
getch();
}

output:

______________
|______________|

Is This Answer Correct ?    16 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantage of c language?

566


How can I find the modification date and time of a file?

616


what is bit rate & baud rate? plz give wave forms

1533


List the difference between a 'copy constructor' and a 'assignment operator' in C?

651


How can I recover the file name given an open stream?

563






Can an array be an Ivalue?

678


Can you add pointers together? Why would you?

665


What is the basic structure of c?

570


Explain how does free() know explain how much memory to release?

582


How are strings stored in c?

607


What is main function in c?

569


What does *p++ do?

607


praagnovation

1795


I have a varargs function which accepts a float parameter?

594


Is it possible to use curly brackets ({}) to enclose single line code in c program?

817