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


Please Help Members By Posting Answers For Below Questions

What is omp_num_threads?

807


What are loops c?

791


"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks

859


Why c language?

821


Write a C program in Fibonacci series.

815






How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

771


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2184


What is dangling pointer in c?

792


What is the difference between struct and typedef struct in c?

860


to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?

1812


A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

1890


Explain how do you determine the length of a string value that was stored in a variable?

885


what is use of malloc and calloc?

1612


write a program to find the given number is prime or not

4233


What is meant by realloc()?

872