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
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
Write a program to print numbers from 1 to 100 without using loop in c?
Explain how do you generate random numbers in c?
What are the advantages of using Unions?
Describe the difference between = and == symbols in c programming?
Is a house a mass structure?
Explain high-order bytes.
Write a program to find factorial of a number using recursive function.
write a program in c language to print your bio-data on the screen by using functions.
What is the difference between a free-standing and a hosted environment?
How can I recover the file name given an open stream?
What are the loops in c?
What is malloc and calloc?
Do you know pointer in c?
What is a newline escape sequence?