can you change name of main()?how?

Answers were Sorted based on User's Feedback



can you change name of main()?how?..

Answer / sindhu

#define my main()
my()
{
printf("hello frnz");
}

Is This Answer Correct ?    14 Yes 7 No

can you change name of main()?how?..

Answer / srinivas aro

#deefine m main
m()
{
printf(" max computers ch.pet guntur disrtct A.P");
}

Is This Answer Correct ?    12 Yes 7 No

can you change name of main()?how?..

Answer / nithya

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

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Interview Questions

When would you use a pointer to a function?

0 Answers  


Explain how can a program be made to print the name of a source file where an error occurs?

0 Answers  


What is "Hungarian Notation"?

0 Answers   Celstream,


What is new line escape sequence?

0 Answers  


in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above

0 Answers  






What are the Advantages of using macro

0 Answers  


What is adt in c programming?

0 Answers  


How would you use the functions fseek(), freed(), fwrite() and ftell()?

0 Answers   Aspire, Infogain, TISL,


what is the use of pointers

6 Answers   Adobe, GrapeCity,


WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }

25 Answers  


I have a varargs function which accepts a float parameter?

0 Answers  


What is an operator?

0 Answers  


Categories