wap to print "hello world" without using the main function.

Answer Posted / niranjan vg

compile the above file using the following command

# gcc -nostartfiles <filename.c>

# ./a.out

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain union. What are its advantages?

620


What is the difference between #include and #include 'file' ?

607


Why is it usually a bad idea to use gets()? Suggest a workaround.

908


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

649


Explain built-in function?

594






Where are some collections of useful code fragments and examples?

717


In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none

721


What is the explanation for the dangling pointer in c?

683


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

654


What is a nested formula?

607


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

627


Can we declare variables anywhere in c?

581


What is the use of typedef in c?

588


What is meant by keywords in c?

618


What is action and transformation in spark?

598