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 |
how to print value of e(exp1)up to required no of digits after decimal?
i am using gsm modem ! I USE CMGL COMMAND TO DISPLAY THE LIST OF MESSAGES ! I WANT TO READ EACH MESSAGE ONE BY ONE AND GET EACH MESSAGE INDEX USING C PROGRAM ! THE RESPONSE OF THE MODULE AFTER AT+CMGL IS ---CMGL: 1,"REC READ","+85291234567",,"07/05/01,08:00:15+32",145,37 It is easy to list SMS text messages.---- I WANT THE PROGRAM TO GET THE NUMBER "37"{MESSAGE LENGTH} AS WELL AS "1"(MESSAGE INDEX NUMBER" PLEASE HELP
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
What do you understand by normalization of pointers?
in linking some of os executables are linking name some of them
main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }
Why ordinary variable store only one value
What is the Difference between Class and Struct?
What is wrong with this initialization?
What does printf does?
When should the register modifier be used? Does it really help?
When should you use a type cast?