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
What is a nested loop?
What is sizeof c?
How can I find out how much free space is available on disk?
What is the benefit of using an enum rather than a #define constant?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
How will you write a code for accessing the length of an array without assigning it to another variable?
How do you redirect a standard stream?
What is the use of gets and puts?
How can I make it pause before closing the program output window?
Explain what are compound statements?
Explain the use of 'auto' keyword
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
How can I write a function that takes a format string and a variable number of arguments?
How can I sort a linked list?
write a c program for swapping two strings using pointer