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 do you mean by command line argument?

0 Answers   TCS,


What is the heap in c?

0 Answers  


what is the other ways to find a logic to print whether a number is an even or odd wit out using % symbol??????? i know three different ways to print it. so i need any other different logic>>>>>

5 Answers   TCS,


What is the use of ?

0 Answers  


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

0 Answers  


How can I rethow can I return a sequence of random numbers which dont repeat at all?

0 Answers  


What is the output of the following program main();{printf ("chennai""superkings"}; a. Chennai b. superkings c. error d. Chennai superkings

6 Answers  


Consider a language that does not have arrays but does have stacks as a data type.and PUSH POP..are all defined .Show how a one dimensional array can be implemented by using two stacks.

3 Answers   Google,


Is main a keyword in c?

0 Answers  


Explain how can you determine the size of an allocated portion of memory?

0 Answers  


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

0 Answers   Google, Infosys,


Can two or more operators such as and be combined in a single line of program code?

0 Answers  


Categories