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


main()
{
intj;
while9j<=10)
{
printf("\n%d",j);
j=j+1;
}
}

Answers were Sorted based on User's Feedback



main() { intj; while9j<=10) { printf("\n%d",j); j=j+1; } }..

Answer / ritesh kumar

Since variable j is not initialised it will contain garbage
value hence the output(imposed on the while loop condition)
may be unexpected ..

Is This Answer Correct ?    13 Yes 1 No

main() { intj; while9j<=10) { printf("\n%d",j); j=j+1; } }..

Answer / sathsh

unexpected

Is This Answer Correct ?    3 Yes 3 No

main() { intj; while9j<=10) { printf("\n%d",j); j=j+1; } }..

Answer / soni

compile error

Is This Answer Correct ?    4 Yes 6 No

main() { intj; while9j<=10) { printf("\n%d",j); j=j+1; } }..

Answer / niranjan kumar niraj

output=9

Is This Answer Correct ?    0 Yes 9 No

Post New Answer

More C Interview Questions

What are operators in c?

0 Answers  


what is the hardware model of CFG( context free grammar)

0 Answers   Microsoft,


Why is extern used in c?

0 Answers  


What is wrong with this statement? Myname = 'robin';

0 Answers  


Why static variable is used in c?

0 Answers  


What are high level languages like C and FORTRAN also known as?

0 Answers  


What is the advantage of using #define to declare a constant?

0 Answers   Agilent, ZS Associates,


program to find a smallest number in an array

15 Answers   Microsoft, Sony,


The C language terminator is a.semicolon b.colon c.period d.exclamation mark

6 Answers   TCS,


write a program to search for an element in a given array. If the array was found then display its position otherwise display appropriate message in c language

18 Answers   IT Park, TCS,


What is NULL pointer?

0 Answers   Infosys,


Can we replace the struct function in tree syntax with a union?

0 Answers   Huawei,


Categories