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

Explain about C function prototype?

867


What is the use of function in c?

973


What is malloc return c?

826


What is a stream?

913


What is #include in c?

824


What is a pointer on a pointer in c programming language?

887


What does a pointer variable always consist of?

899


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1999


what is event driven software and what is procedural driven software?

2315


How can I do peek and poke in c?

880


What is header file definition?

869


int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above

1037


What is the purpose of macro in C language?

894


What is a double c?

807


How are 16- and 32-bit numbers stored?

1025