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
What are c preprocessors?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
What are the types of pointers in c?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
What type is sizeof?
What is the difference between malloc calloc and realloc in c?
What is a volatile keyword in c?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
How do you define a string?
What are qualifiers in c?
What is difference between function overloading and operator overloading?
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
Why do we need volatile in c?
What is extern variable in c with example?
Here is a good puzzle: how do you write a program which produces its own source code as output?