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...

Is main() is used in the program,,see below example?

void main()
{
int i;
for(i=0;i<10;i++)
main();
}

Then what is the output of the program?

Answer Posted / kalyan chukka

Loop will Repeated 10 times .in this program main function
is called it self 10 times.So the loop will repeated 10 times

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1102


Write a c program to demonstrate character and string constants?

2192


Can you please explain the difference between strcpy() and memcpy() function?

1072


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1722


what is the function of pragma directive in c?

1123


What is pointer to pointer in c?

1114


Why is %d used in c?

1007


What are the different data types in C?

1205


How would you obtain the current time and difference between two times?

1295


FILE PROGRAMMING

2245


What are the string functions? List some string functions available in c.

992


What do you understand by friend-functions? How are they used?

1210


What is the purpose of the statement: strcat (S2, S1)?

1171


What is register variable in c language?

1031


a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

1282