We can draw a box in cprogram by using only one printf();&
without using graphic.h header file?
Answer Posted / parmjeet kumar
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("\n______________\n|______________|");
getch();
}
output:
______________
|______________|
Is This Answer Correct ? | 16 Yes | 9 No |
Post New Answer View All Answers
What are the preprocessor categories?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
How do you view the path?
What is anagram in c?
Can you write the algorithm for Queue?
Explain #pragma statements.
Which is better pointer or array?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
Why is c fast?
What is the difference between printf and scanf )?
What is string function c?
How can a program be made to print the line number where an error occurs?
Write a program to print “hello world” without using semicolon?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
What are unions in c?