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

if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1685


What is the use of typedef in c?

764


Describe the difference between = and == symbols in c programming?

997


What is bubble sort technique in c?

743


How to declare a variable?

745






Explain modulus operator.

777


What will the preprocessor do for a program?

753


What language is lisp written in?

817


What are qualifiers and modifiers c?

716


regarding pointers concept

1789


What is the difference between break and continue?

888


What is the default value of local and global variables in c?

743


What is the use of function in c?

894


Why does notstrcat(string, "!");Work?

868


What is the stack in c?

873