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 u draw a rectangle in C

Answers were Sorted based on User's Feedback



how can u draw a rectangle in C..

Answer / mohan

by using graphic header file
ex:
#include"graphic.h"
main()
{
rect(100,150,50,200);
}

Is This Answer Correct ?    0 Yes 2 No

how can u draw a rectangle in C..

Answer / bhargav

c 4 computer
so u can draw a rectangle using paint.

Is This Answer Correct ?    1 Yes 3 No

how can u draw a rectangle in C..

Answer / senthilkumar

First we insert the graphics mode into your complier,and we
use the function rectangle(); in the rectangle function we
specified the length and breath,and we also specified where
the place in screen the rectangle is drawn.

Is This Answer Correct ?    10 Yes 14 No

how can u draw a rectangle in C..

Answer / swatter

These are all non-standard libraries for graphics, they
arent used at all in today's date. They are libraries which
where introduced 20 yrs back and same with turbo C!

Is This Answer Correct ?    1 Yes 5 No

how can u draw a rectangle in C..

Answer / natarasan.k

by using the hand with pen and scale

Is This Answer Correct ?    1 Yes 8 No

how can u draw a rectangle in C..

Answer / arthanari r

to use follows

rect(x1,y1.x2,y2);

Is This Answer Correct ?    10 Yes 20 No

how can u draw a rectangle in C..

Answer / ganesh

using turboc2 editor

Is This Answer Correct ?    9 Yes 24 No

how can u draw a rectangle in C..

Answer / subhradip

printf("____________________");
printf("\n|\t\t|\n|\t\t|\n|\t\t|\n|\t\t|");
printf("____________________");

by this way i think can be possible,though some
adjustment may required...as per size of VDU.As per my
opinion intervier asked for this answer....as C graphics is
not so popularly used.
Pardon me if i'm wrong & can also mail to me.

Is This Answer Correct ?    20 Yes 56 No

how can u draw a rectangle in C..

Answer / shiju

using pen & scale

Is This Answer Correct ?    16 Yes 59 No

how can u draw a rectangle in C..

Answer / guest

no answer

Is This Answer Correct ?    27 Yes 84 No

Post New Answer

More C Code Interview Questions

main() { int i=3; switch(i) { default:printf("zero"); case 1: printf("one"); break; case 2:printf("two"); break; case 3: printf("three"); break; } }

1 Answers  


main() { int i; float *pf; pf = (float *)&i; *pf = 100.00; printf("\n %d", i); } a. Runtime error. b. 100 c. Some Integer not 100 d. None of the above

2 Answers   HCL, LG,


main() { int i=5; printf(ā€œ%dā€,i=++i ==6); }

1 Answers  


main() { float i=1.5; switch(i) { case 1: printf("1"); case 2: printf("2"); default : printf("0"); } }

2 Answers  


What is data _null_? ,Explain with code when u need to use it in data step programming ?

0 Answers   Abbott,


Write a C function to search a number in the given list of numbers. donot use printf and scanf

5 Answers   Honeywell, TCS,


respected sir, i did my MCA in 2013 when i am going to attend to an interview i was asked about my project how will i explain my project could please help me in this and my project title is "Social Networking Site For Social Responsibility"

1 Answers   Genpact, Ozdocs,


void main() { int c; c=printf("Hello world"); printf("\n%d",c); }

2 Answers  


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal.

6 Answers   Fusion Systems GmbH,


to remove the repeated cahracter from the given caracter array. i.e.., if the input is SSAD output should of SAD

6 Answers   Synergy,


Write a program that find and print how many odd numbers in a binary tree

1 Answers  


void main() { char a[]="12345\0"; int i=strlen(a); printf("here in 3 %d\n",++i); }

3 Answers  


Categories