write a program without using main function?

Answers were Sorted based on User's Feedback



write a program without using main function?..

Answer / raavi.swami

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

Is This Answer Correct ?    27 Yes 2 No

write a program without using main function?..

Answer / siva koratani

#include<stdio.h>
#define begin m##a##i##n
void begin()
{
printf("Hello");
}

Is This Answer Correct ?    7 Yes 2 No

Post New Answer

More C Interview Questions

How to add two numbers without using semicolon n c????

3 Answers  


What is difference between structure and union?

1 Answers  


difference between semaphores and mutex?

1 Answers  


what is c

4 Answers  


Is main is a keyword in c?

1 Answers  


What is c mainly used for?

1 Answers  


which of the function operator cannot be over loaded a) <= b)?: c)== d)*

10 Answers   Cisco, CTS, Google, HCL, HP,


How main function is called in c?

1 Answers  


What ios diff. Between %e & %f?

3 Answers   Honeywell,


What is scope and lifetime of a variable in c?

1 Answers  


Why Modern OS are interrupt driven?Give an example

3 Answers  


What does s c mean on snapchat?

1 Answers  


Categories