Is it possible to run a c program without using main?If yes
HOW??
Answer Posted / vrushali
HI Valli,
Still the same problem.
/usr/bin/ld: warning: cannot find entry symbol _start;
defaulting to 080481a4
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What is a example of a variable?
What is the heap in c?
Explain how do you declare an array that will hold more than 64kb of data?
Explain what is the purpose of "extern" keyword in a function declaration?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
How can a program be made to print the name of a source file where an error occurs?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
How do we print only part of a string in c?
Why c is a mother language?
What is the difference between test design and test case design?
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.
What are examples of structures?
Explain what are linked list?
What are header files in c?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10