can you change name of main()?how?

Answer Posted / nithya

#define m main
#include<stdio.h>
void m()
{
printf("Hai");
}

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is wild pointer in c?

795


if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

901


how to create duplicate link list using C???

2259


When should we use pointers in a c program?

853


Explain the difference between getch() and getche() in c?

735


Explain what is a program flowchart and explain how does it help in writing a program?

851


What is ctrl c called?

778


Can we add pointers together?

806


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

1984


What is string function in c?

725


Here is a good puzzle: how do you write a program which produces its own source code as output?

835


What is scope rule of function in c?

762


What standard functions are available to manipulate strings?

797


What are the advantages of external class?

785


How can a string be converted to a number?

735