How can draw a box in cprogram without using graphics.h
header file & using only one printf(); ?
Answer Posted / chandan kumar r
#include<stdioh>
#include<conio.h>
void main()
{
printf("______________\n|______________|\n");
getch();
}
output:
____________________
|____________________|
| Is This Answer Correct ? | 37 Yes | 9 No |
Post New Answer View All Answers
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
What is the purpose of scanf() and printf() functions?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
Why can arithmetic operations not be performed on void pointers?
What do you mean by keywords in c?
What is the scope of global variable in c?
what is the function of pragma directive in c?
Who invented b language?
Should I learn data structures in c or python?
What are integer variable, floating-point variable and character variable?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
Can we assign integer value to char in c?
What are header files why are they important?
What is the difference between c &c++?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code