How can draw a box in cprogram without using graphics.h
header file & using only one printf(); ?
Answer Posted / veeramalliga
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("\n----------------\n");
printf("\n| |\n");
printf("\n| |\n");
printf("\n-----------------\n");
getch();
}
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
Explain what is the difference between the expression '++a' and 'a++'?
How are 16- and 32-bit numbers stored?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
what is reason of your company position's in india no. 1.
how logic is used
Why is it usually a bad idea to use gets()? Suggest a workaround.
What are the 5 types of inheritance in c ++?
please send me the code for multiplying sparse matrix using c
Is there any possibility to create customized header file with c programming language?
Which is best book for data structures in c?
Is main a keyword in c?
What is meant by realloc()?
What is modeling?
How do you construct an increment statement or decrement statement in C?
What is anagram in c?