Is it possible to run a c program without using main?If yes
HOW??

Answer Posted / swetha

void add(int a,int b)
{
int c;
c=a+b;
printf("%d",c);
}

Is This Answer Correct ?    2 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a newline escape sequence?

665


What is keyword with example?

642


Give me the code of in-order recursive and non-recursive.

886


hi send me sample aptitude papers of cts?

1654


Explain how can I read and write comma-delimited text?

658






Write a program to swap two numbers without using third variable?

814


What is a program flowchart and how does it help in writing a program?

665


What is break statement?

633


How can I implement sets or arrays of bits?

607


What is the purpose of type declarations?

681


How can I call a function with an argument list built up at run time?

640


What is return in c programming?

515


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

1587


Apart from dennis ritchie who the other person who contributed in design of c language.

813


How can I open files mentioned on the command line, and parse option flags?

594