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

9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?

1 Answers  


What are file streams?

0 Answers  


can any one tell that i have a variable which is declared as static but i want this variable to be visible to the other files? how?

2 Answers  


what is pointer?

4 Answers  


get any number as input except 1 and the output will be 1.without using operators,expressions,array,structure.don't print 1 in printf statement

3 Answers  






write a program to delete an item from a particular location of an linear array?

1 Answers  


Is it possible to run using programming C for Java Application?

2 Answers   NIC,


20. main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); } Answer:??????

2 Answers  


program to find the second largest word in a paragraph amongst all words that repeat more thn twice

4 Answers   CTS, iGate,


What is structure padding and packing in c?

0 Answers  


what is the difference between global variable & static variable declared out side all the function in the file.

2 Answers  


What is difference between array and pointer in c?

0 Answers  


Categories