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 *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }

3 Answers   GNITC,


create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00

0 Answers   Microsoft,


Give a oneline C expression to test whether a number is a power of 2?

25 Answers   EA Electronic Arts, Google, Motorola,


int i,j; for(i=0;i<=10;i++) { j+=5; assert(i<5); }

3 Answers   Cisco, HCL,


Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange

0 Answers  


Given a list of numbers ( fixed list) Now given any other list, how can you efficiently find out if there is any element in the second list that is an element of the first list (fixed list)

3 Answers   Disney, Google, ZS Associates,


Cau u say the output....?

1 Answers  


main() { int i=10; void pascal f(int,int,int); f(i++,i++,i++); printf(" %d",i); } void pascal f(integer :i,integer:j,integer :k) { write(i,j,k); }

1 Answers  


#include <stdio.h> int main(void) { int a=4, b=2; a=b<<a+b>>2 ; printf("%d",a); return 0; }

0 Answers   Student,


Question: We would like to design and implement a programming solution to the reader-writer problem using semaphores in C language under UNIX. We assume that we have three readers and two writers processes that would run concurrently. A writer is to update (write) into one memory location (let’s say a variable of type integer named temp initialized to 0). In the other hand, a reader is to read the content of temp and display its content on the screen in a formatted output. One writer can access the shared data exclusively without the presence of other writer or any reader, whereas, a reader may access the shared memory for reading with the presence of other readers (but not writers).

1 Answers  


main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }

2 Answers  


Finding a number which was log of base 2

1 Answers   NetApp,


Categories