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

Answer Posted / namita

main()
{
main();
}

This code snippet will result in infinite loop.

Is This Answer Correct ?    43 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain function?

667


What is meant by 'bit masking'?

891


Lists the benefits of c programming language?

602


What is #include in c?

606


Is that possible to store 32768 in an int data type variable?

696






What is a substring in c?

593


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

646


How pointers are declared?

568


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2020


What is the advantage of using #define to declare a constant?

625


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

3849


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2206


What is hashing in c language?

620


What is the difference between single charater constant and string constant?

629


Is c call by value?

613