Whether there can be main inside another main?If so how does
it work?
Answer Posted / vara
there will be no error but the output will go in infinite
loop
main()
{
int a=2,b=3;
a=a+b;
b=a-b;
a=a-b;
printf("%d",&a);
printf("%d",&b);
main();
getch();
}
| Is This Answer Correct ? | 19 Yes | 5 No |
Post New Answer View All Answers
What is string in c language?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Explain what’s a signal? Explain what do I use signals for?
what is the diffrenet bettwen HTTP and internet protocol
What is the maximum no. of arguments that can be given in a command line in C.?
How can I do graphics in c?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
Differentiate between static and dynamic modeling.
What is the difference between mpi and openmp?
Which header file is used for clrscr?
What is the difference between c and python?
Explain what will the preprocessor do for a program?
What are the functions to open and close the file in c language?
Is it acceptable to declare/define a variable in a c header?
What is the size of array float a(10)?