wap to print "hello world" without using the main function.
Answer Posted / hemanthkumar
#include<stdio.h>
#define hemanth main
public hemanth()
{
printf("hello world");
}
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is getch() function?
What is the purpose of main( ) in c language?
What are the 5 elements of structure?
What is string function c?
Which is better between malloc and calloc?
Explain what standard functions are available to manipulate strings?
What are the application of void data type in c?
What is difference between %d and %i in c?
Write a program to print ASCII code for a given digit.
Explain what is operator promotion?
Why can't I perform arithmetic on a void* pointer?
Write a program to swap two numbers without using the third variable?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
How do I convert a string to all upper or lower case?
Explain about the functions strcat() and strcmp()?