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 / sh college,thevara
-128
Is This Answer Correct ? | 31 Yes | 8 No |
Post New Answer View All Answers
What’s the special use of UNIONS?
Explain the use of 'auto' keyword in c programming?
What is the difference between array and pointer in c?
What is const and volatile in c?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
Why can’t we compare structures?
write a program to display all prime numbers
How do we open a binary file in Read/Write mode in C?
Write a function that will take in a phone number and output all possible alphabetical combinations
What is the advantage of using #define to declare a constant?
Is linux written in c?
Differentiate between null and void pointers.
Once I have used freopen, how can I get the original stdout (or stdin) back?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
What are variables and it what way is it different from constants?