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

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


Please Help Members By Posting Answers For Below Questions

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?

1328


Write a program to print numbers from 1 to 100 without using loop in c?

1135


Explain how do you generate random numbers in c?

1129


What are the advantages of using Unions?

1170


Describe the difference between = and == symbols in c programming?

1450


Is a house a mass structure?

1152


Explain high-order bytes.

1178


Write a program to find factorial of a number using recursive function.

1175


write a program in c language to print your bio-data on the screen by using functions.

6837


What is the difference between a free-standing and a hosted environment?

1191


How can I recover the file name given an open stream?

1080


What are the loops in c?

1049


What is malloc and calloc?

1103


Do you know pointer in c?

1106


What is a newline escape sequence?

1158