wap to print "hello world" without using the main function.
Answer Posted / vaibhav
@Deepika some correction:
#include<stdio.h>
#define decode(s,t,u,m,p,e,d) m##s##u##t
#define begin decode(a,n,i,m,a,t,e)
int begin()
{
printf("Hello World");
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is operator precedence?
What is && in c programming?
Which is an example of a structural homology?
What is the difference between arrays and pointers?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
Explain the Difference between the New and Malloc keyword.
Is main is a keyword in c?
Where are some collections of useful code fragments and examples?
Define Array of pointers.
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
What is c standard library?