What is the output of the program given below

#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}

Answer Posted / rani

output is

-128

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

643


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1402


what value is returned to operating system after program execution?

1567


How does placing some code lines between the comment symbol help in debugging the code?

516


what are non standard function in c

1398






How many levels deep can include files be nested?

616


What is a macro, and explain how do you use it?

606


What is the Purpose of 'extern' keyword in a function declaration?

625


why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above

586


What functions are used for dynamic memory allocation in c language?

574


application attempts to perform an operation?

1471


How can I write functions that take a variable number of arguments?

603


Explain how do you sort filenames in a directory?

582


Which function in C can be used to append a string to another string?

619


Can you return null in c?

576