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


Please Help Members By Posting Answers For Below Questions

Is c++ based on c?

659


what do you mean by enumeration constant?

603


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)

1633


`write a program to display the recomended action depends on a color of trafic light using nested if statments

1640


How can you check to see whether a symbol is defined?

598






Differentiate between null and void pointers.

637


Explain how can I open a file so that other programs can update it at the same time?

599


Difference between pass by reference and pass by value?

668


Explain is it better to bitshift a value than to multiply by 2?

724


Does c have circular shift operators?

738


Why & is used in c?

725


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜nā€™ element.

1592


What is c value paradox explain?

584


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

716


Is file a keyword in c?

512