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
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
What does d mean?
What are the rules for identifiers in c?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What is a newline escape sequence?
Explain the use of #pragma exit?
How can I sort more data than will fit in memory?
How can I invoke another program or command and trap its output?
Do variables need to be initialized?
What are the advantages of union?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
Differentiate between ordinary variable and pointer in c.
What is difference between array and pointer in c?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?