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

Simplify the program segment if X = B then C ← true else C ← false

2970


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

2416


What are the types of type qualifiers in c?

1046


How do you list a file’s date and time?

1036


What is #include cctype?

1085


How can I open files mentioned on the command line, and parse option flags?

1032


Explain how do you sort filenames in a directory?

996


Explain the meaning of keyword 'extern' in a function declaration.

1125


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1060


Is return a keyword in c?

1039


What is switch in c?

1051


Is register a keyword in c?

1003


Calculate 1*2*3*____*n using recursive function??

1993


Explain what are bus errors, memory faults, and core dumps?

1235


What are run-time errors?

1067