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
Explain goto?
differentiate built-in functions and user – defined functions.
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Why do we use stdio h and conio h?
what do u mean by Direct access files? then can u explain about Direct Access Files?
Can a function argument have default value?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
What is ponter?
What are unions in c?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
Do you know the difference between malloc() and calloc() function?
Why is c fast?
What are the ways to a null pointer can use in c programming language?
write a program to find out prime number using sieve case?
Tell me what is the purpose of 'register' keyword in c language?