lucky


{ City } aligarh
< Country > india
* Profession *
User No # 53894
Total Questions Posted # 0
Total Answers Posted # 8

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

Users Marked my Answers as Correct # 18
Users Marked my Answers as Wrong # 27
Questions / { lucky }
Questions Answers Category Views Company eMail




Answers / { lucky }

Question { 4011 }

how to get the sum of two integers?


Answer

#include
#include
void main()
{
clrscr();
int i,j,sum;
printf("enter two numbers");
scanf("%d%d",&i,&j);
sum=i+j;
printf("sum=%d",sum);
}

Is This Answer Correct ?    4 Yes 0 No

Question { HCL, 5667 }

main()

{

signed int bit=512, i=5;

for(;i;i--)

{

printf("%d\n", bit = (bit >> (i - (i -1))));

}

}

a. 512, 256, 128, 64, 32

b. 256, 128, 64, 32, 16

c. 128, 64, 32, 16, 8

d. 64, 32, 16, 8, 4


Answer

c

Is This Answer Correct ?    0 Yes 1 No


Question { 5616 }

void main()

{

int i=5;

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

}


Answer

answer is 11

Is This Answer Correct ?    1 Yes 2 No

Question { 5370 }

void main()

{

int i=5;

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

}


Answer

i=6

Is This Answer Correct ?    0 Yes 5 No

Question { 11343 }

main()

{

printf("%d", out);

}

int out=100;


Answer

100
bcz int out=100is globle diclearation

Is This Answer Correct ?    2 Yes 3 No

Question { 20797 }

void main()

{

char a[]="12345\0";

int i=strlen(a);

printf("here in 3 %d\n",++i);

}


Answer

here in 3
7

Is This Answer Correct ?    4 Yes 6 No

Question { NIIT, 5117 }

what is oops


Answer

Object Oriented Programming System

Is This Answer Correct ?    6 Yes 10 No

Question { 5236 }

question-how to run a c programme.


Answer

press ctrl+f9

Is This Answer Correct ?    1 Yes 0 No