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 |
Explain what is the difference between text files and binary files?
main() { float f1=10.5; double db1=10.5 if(f1==db1) printf("a"); else printf("b") }
Which is best linux os?
What is const keyword in c?
explain what are actual arguments?
What is the mean of this statement:: if(int i=0 * i=9)
To what value are pointers initialized? 1) NULL 2) Newly allocated memory 3) No action is taken by the compiler to initialize pointers.
What is a rvalue?
What is a Genralised LInked List?? Please give a detailed explation of it..
main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?
Discuss the function of conditional operator, size of operator and comma operator with examples.
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?