with out using main how to execute the program?
Answers were Sorted based on User's Feedback
Answer / pradeep
It is not a c program if it is not using main function.
Compiler starts execution from main function always.
| Is This Answer Correct ? | 18 Yes | 4 No |
Answer / sagar
In any C program, it must contain main function..........
So, it is not possible to run any program without main
function .......
| Is This Answer Correct ? | 5 Yes | 5 No |
How can I recover the file name given an open stream?
The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.
Explain Function Pointer?
what are the 10 different models of writing an addition program in C language?
Can a binary search tree be used as an index? If yes, how? Explain
is assignment operator is arithmatic or not
What is structure padding & expalain wid example what is bit wise structure?
How can I find the modification date and time of a file?
#include<conio.h> #include<stdio.h> void main() { int i; if(1,0,2,3) { printf("if"); } else { printf("else"); } getch(); } Can any body tell the answer of this question with explanation?
write a program for even numbers?
will u please send me the placement papers to my mail???????????????????
What is the value of h?