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

Answer Posted / ramabrahmam

hi adesh,
your logic is not suited to numbers.
suppose, if we write "printf" as
for two integers a,b
printf("sum of a and b is",a+b);
for this statement it only displaying the letters
within the double quotes.i.e., sum of a and b is .
it is not displaying anything after that.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program of advanced Fibonacci series.

700


What are the different properties of variable number of arguments?

657


Where are some collections of useful code fragments and examples?

704


What are the different categories of functions in c?

639


Explain how do you view the path?

644






What are the two types of functions in c?

554


What is the difference between array and structure in c?

563


Why does everyone say not to use scanf? What should I use instead?

677


What is the use of bitwise operator?

679


What do you know about the use of bit field?

602


What is mean by data types in c?

545


What are the loops in c?

589


How do you convert strings to numbers in C?

701


write a program in c language to print your bio-data on the screen by using functions.

6239


How do you print only part of a string?

603