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 / 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


Please Help Members By Posting Answers For Below Questions

a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list

996


What is the purpose of scanf() and printf() functions?

1235


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

1114


Why can arithmetic operations not be performed on void pointers?

1032


What do you mean by keywords in c?

1141


What is the scope of global variable in c?

986


what is the function of pragma directive in c?

1116


Who invented b language?

1403


Should I learn data structures in c or python?

1014


What are integer variable, floating-point variable and character variable?

1237


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2240


Can we assign integer value to char in c?

1239


What are header files why are they important?

1084


What is the difference between c &c++?

1143


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2171