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

0

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does %d do in c?

537


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

583


What are high level languages like C and FORTRAN also known as?

680


What is use of integral promotions in c?

662


What is dynamic dispatch in c++?

554






Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

974


What is gets() function?

665


What do you mean by command line argument?

636


Explain how do you view the path?

649


What does 3 periods mean in texting?

595


What is memcpy() function?

617


How to write a code for reverse of string without using string functions?

1575


Does c have circular shift operators?

725


Explain setjmp()?

651


How macro execution is faster than function ?

660