rahul


{ City } bikaner
< Country > india
* Profession *
User No # 1519
Total Questions Posted # 0
Total Answers Posted # 5

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

Users Marked my Answers as Correct # 147
Users Marked my Answers as Wrong # 75
Questions / { rahul }
Questions Answers Category Views Company eMail




Answers / { rahul }

Question { Verifone, 28820 }

int a=1,b=2,c=3;
printf("%d,%d",a,b,c);
What is the output?


Answer

1,2,3

Is This Answer Correct ?    12 Yes 47 No

Question { Verifone, 28820 }

int a=1,b=2,c=3;
printf("%d,%d",a,b,c);
What is the output?


Answer

1,2

Is This Answer Correct ?    67 Yes 7 No


Question { CitiGroup, 47598 }

main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}


Answer

5,20,1

Is This Answer Correct ?    50 Yes 3 No

Question { TCS, 10910 }

what is y value of the code if input x=10
y=5;
if (x==10)
else if(x==9)
elae y=8;
a.9
b.8
c.6
d.7


Answer

8

Is This Answer Correct ?    8 Yes 7 No

Question { 8918 }

Explain the differences between public, protected, private
and internal.


Answer

public:-
--------- It means we can access the property of public;
directly from out side of the class.

private:-
---------- it means we can't access the property of
private;
directly from out side the class.
and we can't intilizing the member var during run time
we have to use constuctor.
proctected:-
If we wnat to inherit private data member only onces.
then we make them protcted

Is This Answer Correct ?    10 Yes 11 No