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 / aryan

-128

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the advantages and disadvantages of macros.

620


What is the difference between a function and a method in c?

558


Why is C language being considered a middle level language?

652


What language is windows 1.0 written?

571


What are the types of i/o functions?

677






Can you explain the four storage classes in C?

640


What is the 'named constructor idiom'?

636


Write a program to implement queue.

663


What is #line?

607


What is a structure member in c?

539


What is strcpy() function?

652


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1724


Why calloc is better than malloc?

570


write a program to create a sparse matrix using dynamic memory allocation.

4370


Can we access array using pointer in c language?

640