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

Answer Posted / chandan kumar r

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

output:
____________________
|____________________|

Is This Answer Correct ?    37 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does 4d mean in c?

928


Is it possible to initialize a variable at the time it was declared?

745


Explain how do you override a defined macro?

573


please give me some tips for the placement in the TCS.

1622


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2252






what is the diffrenet bettwen HTTP and internet protocol

1377


What is the difference between struct and union in C?

551


How can you avoid including a header more than once?

553


What are the advantages of using macro in c language?

577


Can we assign string to char pointer?

575


Where static variables are stored in memory in c?

513


What is use of integral promotions in c?

651


Explain high-order and low-order bytes.

655


What is equivalent to ++i+++j?

633


What is main function in c?

537