We can draw a box in cprogram by using only one printf();&
without using graphic.h header file?
Answer Posted / chandan kumar r
yes the code is currect
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("\n______________\n|______________|");
getch();
}
output:
______________
|______________|
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Explain null pointer.
What is the difference between formatted&unformatted i/o functions?
What should malloc(0) do?
Can 'this' pointer by used in the constructor?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
How can I get the current date or time of day in a c program?
number of times a digit is present in a number
Difference between MAC vs. IP Addressing
What are data structures in c and how to use them?
write a program to display all prime numbers
What is "Hungarian Notation"?
What is a constant?
How can I open files mentioned on the command line, and parse option flags?
Where are the auto variables stored?
What are the advantages of c language?