Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Differentiate abs() function from fabs() function.

1019


Are enumerations really portable?

1028


What is the value of h?

1043


Write a code to determine the total number of stops an elevator would take to serve N number of people.

1259


How do you construct an increment statement or decrement statement in C?

1237


In C, What is the #line used for?

2214


Tell us bitwise shift operators?

1094


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1252


What is page thrashing?

1083


Write a program to use switch statement.

1133


What is sizeof array?

1060


What is volatile variable how do you declare it?

1102


Can you mix old-style and new-style function syntax?

1102


What does typeof return in c?

1099


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1884