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

vikramanpadu


{ City } erode-chennai
< Country > india
* Profession * mca-student
User No # 7211
Total Questions Posted # 0
Total Answers Posted # 3

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

Users Marked my Answers as Correct # 11
Users Marked my Answers as Wrong # 5
Questions / { vikramanpadu }
Questions Answers Category Views Company eMail




Answers / { vikramanpadu }

Question { HCL, 21914 }

int i =10
main()
{
int i =20,n;
for(n=0;n<=i;)
{
int i=10
i++;
}
printf("%d", i);


Answer

int i=10[;]
main()
{
int i=20,n;
for(n=0;n<=i;)
{
int i=10[;]
i++;
}
printf("%d", i);
The syntax errs r specified in sq.braces..
if its corrected there s no terminating condition also..
so no o/p..

Is This Answer Correct ?    8 Yes 0 No

Question { Ramco, 12965 }

main()
{
int a=0;
if(a=0) printf("Ramco Systems\n");
printf("India\n");
}
output?


Answer

Actually compile time err wil occur..
Its "Possibly incorrect assignment"
Its due to if(a=0)??
Its wrong,we have to compare only while checking
conditions..
we have to use the operators which are used to check
conditions like ==,<=,>=....

Is This Answer Correct ?    1 Yes 5 No


Question { Oracle, 9107 }

Go through the following code sinippet
char a[20];
a="Hello Orcale Test";
will this compile?


Answer

Compile time err wil occur;
We can use *a="Hello Orcale Test" or a[20]="Hello Orcale
Test";
It will lead the prg nice.

Is This Answer Correct ?    2 Yes 0 No