for(i=1;i>0;i++);
printf("i=%d",i);
what will be the answer????

Answer Posted / rajesh jat

i is a signed integer
it will print only and only -32768
//KEEP IT DIRTY

Is This Answer Correct ?    16 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we declare variables anywhere in c?

564


If I have a char * variable pointing to the name of a function ..

638


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

2564


Why do we use return in c?

559


how logic is used

1489






What is the difference between c and python?

571


Why do we use header files in c?

569


What are types of preprocessor in c?

609


Explain the use of 'auto' keyword

664


What is the best style for code layout in c?

622


Why is c called a mid-level programming language?

712


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

620


Tell me can the size of an array be declared at runtime?

589


Explain what math functions are available for integers? For floating point?

601


What is the difference between char array and char pointer?

519