write a program without using main function?
Answers were Sorted based on User's Feedback
Answer / raavi.swami
#include<stdio.h>
#define begin main
void begin()
{
printf("Hello");
}
| Is This Answer Correct ? | 27 Yes | 2 No |
Answer / siva koratani
#include<stdio.h>
#define begin m##a##i##n
void begin()
{
printf("Hello");
}
| Is This Answer Correct ? | 7 Yes | 2 No |
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
What are the characteristics of arrays in c?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
when to use : in c program?
we have a 3litres jug and a 5 litres jug and no measures on them. using these two jugs how can we measure 4 litres of water?
what are brk, sbrk?
how does printf function work
what will happen if you free a pointer twice after allocating memory dynamically ?
1 1 2 1 2 3 1 2 3 4 1 2 3 1 2 1 generate this output using for loop
What is volatile variable in c with example?
what will be the output of this program........ main() { int a=2,b=4,c=6; printf("%d"); } why it gives the value of third variable.
How to develop software using "c" programming?