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

What is the size of a union variable?

1009


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1719


Explain how can I right-justify a string?

1007


What is floating point constants?

1089


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

2288


Can two or more operators such as and be combined in a single line of program code?

1320


How can I insert or delete a line (or record) in the middle of a file?

986


What is scanf_s in c?

1075


What is meant by operator precedence?

1100


What is the correct code to have following output in c using nested for loop?

1034


What are pointers?

1051


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1027


Which node is more powerful and can handle local information processing or graphics processing?

1270


Explain the difference between exit() and _exit() function?

1122


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1251