wap to print "hello world" without using the main function.
Answer Posted / kk
Here is a basic sample which uses main as the entry point..
#include <stdio.h>
#define myProxyMain main
int myProxyMain()
{
printf("\nHello World !!");
getchar();
return 0;
}
Just note that at source level there is no main but once
preprocessing we still have the old main() method.. Which
means we still have the main method in the object module as
well as the executable..
| Is This Answer Correct ? | 37 Yes | 11 No |
Post New Answer View All Answers
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
what are bit fields? What is the use of bit fields in a structure declaration?
What is output redirection?
Differentiate between new and malloc(), delete and free() ?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
Why static is used in c?
Are there constructors in c?
Explain how do you list a file’s date and time?
Explain what is wrong with this program statement? Void = 10;
What are the advantages of the functions?
write a program to copy the string using switch case?
Explain what are multibyte characters?