Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can draw a box in cprogram without using graphics.h
header file & using only one printf(); ?

Answer Posted / veeramalliga

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("\n----------------\n");
printf("\n| |\n");
printf("\n| |\n");
printf("\n-----------------\n");
getch();
}

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the difference between the expression '++a' and 'a++'?

1214


How are 16- and 32-bit numbers stored?

1293


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

2082


what is reason of your company position's in india no. 1.

2340


how logic is used

1973


Why is it usually a bad idea to use gets()? Suggest a workaround.

1789


What are the 5 types of inheritance in c ++?

1027


please send me the code for multiplying sparse matrix using c

2178


Is there any possibility to create customized header file with c programming language?

1065


Which is best book for data structures in c?

1093


Is main a keyword in c?

1138


What is meant by realloc()?

1155


What is modeling?

1055


How do you construct an increment statement or decrement statement in C?

1238


What is anagram in c?

926