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

garbage values

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the 10 different models of writing an addition program in C language?

1434


Explain how do you list files in a directory?

612


What math functions are available for integers? For floating point?

616


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1115


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

1435






in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

7387


What do you mean by dynamic memory allocation in c? What functions are used?

650


Write a program to reverse a linked list in c.

639


What is a global variable in c?

587


What are static variables in c?

627


What is the difference between scanf and fscanf?

660


What is atoi and atof in c?

612


What does s c mean in text?

605


What is a pointer variable in c language?

641


What is the usage of the pointer in c?

602