Whether there can be main inside another main?If so how does
it work?

Answer Posted / shiva

main()
{
printf("main()");
}

Is This Answer Correct ?    39 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Dynamic memory allocation in C? Name the dynamic allocation functions.

553


Where static variables are stored in c?

581


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

570


Write a program to check palindrome number in c programming?

596


What are the basic data types associated with c?

811






What is static and auto variables in c?

561


Explain the difference between structs and unions in c?

572


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

1759


What is bash c?

552


What is class and object in c?

585


Differentiate between declaring a variable and defining a variable?

602


What is variable in c example?

590


Array is an lvalue or not?

633


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1722


Explain what are preprocessor directives?

621