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

sandeep mishra


{ City } ghaziabad
< Country > india
* Profession *
User No # 44422
Total Questions Posted # 0
Total Answers Posted # 6

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 33
Users Marked my Answers as Wrong # 11
Questions / { sandeep mishra }
Questions Answers Category Views Company eMail




Answers / { sandeep mishra }

Question { Accenture, 120433 }

how can u draw a rectangle in C


Answer

With the help of

rectangle(int x1,int y1, int x2 ,int y2)

we pass 4 parameter x1 , y1 ,x2, y2 ;
where x1 is top left co-ordinate
y1 is top right co-ordinate
x2 is bottom left co-ordinate
y2 is bottom right co-ordinate

Is This Answer Correct ?    3 Yes 0 No

Question { HCL, 19666 }

main()

{

char *p = "hello world";

p[0] = 'H';

printf("%s", p);

}

a. Runtime error.

b. “Hello world”

c. Compile error

d. “hello world”


Answer

answer:

Hello word

Is This Answer Correct ?    4 Yes 6 No


Question { HCL, 11743 }

main()

{

int i = 100;

clrscr();

printf("%d", sizeof(sizeof(i)));

}

a. 2

b. 100

c. 4

d. none of the above


Answer

answer :


a> 2

becase sizeof method return the size of passed
arguments's data type

Is This Answer Correct ?    5 Yes 0 No

Question { HCL, 14825 }

void main ()

{

int x = 10;

printf ("x = %d, y = %d", x,--x++);

}

a. 10, 10

b. 10, 9

c. 10, 11

d. none of the above


Answer

answer



d> non of above
an error display at compile time L value required

Is This Answer Correct ?    8 Yes 0 No

Question { 6066 }

#include

main()

{

register i=5;

char j[]= "hello";

printf("%s %d",j,i);

}


Answer

answer


hello 5

printf("%s",j); printf hello because j is a array it also
contain base address of first element of array .


register i treate simple integer

Is This Answer Correct ?    0 Yes 0 No

Question { 12347 }

int i;

main(){

int t;

for ( t=4;scanf("%d",&i)-t;printf("%d\n",i))

printf("%d--",t--);

}

// If the inputs are 0,1,2,3 find the o/p


Answer

answer :

4--0
3--1
2--2

Is This Answer Correct ?    13 Yes 5 No