Whether there can be main inside another main?If so how does
it work?
Answer Posted / arun
we can main() inside main() it will work as like as
recursive funtion and it would like a infinate loop
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
Explain how can I make sure that my program is the only one accessing a file?
Why does not c have an exponentiation operator?
What does c in a circle mean?
Explain that why C is procedural?
In which header file is the null macro defined?
There seem to be a few missing operators ..
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
Why is #define used?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What is difference between structure and union in c programming?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
Can you please explain the difference between strcpy() and memcpy() function?
Difference between Shallow copy and Deep copy?