Answer Posted / surya bhagavan s
#include<stdio.h>
#include <unistd.h>
_start()
{
_exit(my_main());
}
int my_main(void)
{
printf("Hello\n");
return 42;
}
for compilation
gcc -o3 -nostartfiles example.c
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
about c language
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
Can you define which header file to include at compile time?
What is the full form of getch?
What is ctrl c called?
How is null defined in c?
Where are c variables stored in memory?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
how can I convert a string to a number?
Is boolean a datatype in c?
Explain what are the standard predefined macros?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
Explain the term printf() and scanf() used in c language?
How can you find the day of the week given the date?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"