We can draw a box in cprogram by using only one printf();&
without using graphic.h header file?
Answer Posted / mohan reddy
yes the code is currect
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("\n______________\n|______________|");
getch();
}
output:
______________
|______________|
Is This Answer Correct ? | 6 Yes | 7 No |
Post New Answer View All Answers
Is c++ based on c?
what do you mean by enumeration constant?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
`write a program to display the recomended action depends on a color of trafic light using nested if statments
How can you check to see whether a symbol is defined?
Differentiate between null and void pointers.
Explain how can I open a file so that other programs can update it at the same time?
Difference between pass by reference and pass by value?
Explain is it better to bitshift a value than to multiply by 2?
Does c have circular shift operators?
Why & is used in c?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
What is c value paradox explain?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
Is file a keyword in c?