can we print any string in c language without using
semicolon(;)(terminator) in whole program.
Answer Posted / vinnu bhardwaj
main()
{
if(printf("Hello world"))
{}
}
//Here the {} act as a blank compound statement. But it is
//not mandatory to put some simple statements in it which
//require a semicolon. There are many more such answers to
//this question but the basic funda will be same
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
Tell me can the size of an array be declared at runtime?
What are header files and what are its uses in C programming?
What is abstract data structure in c?
Explain how do you list a file’s date and time?
Where in memory are my variables stored?
Explain what are run-time errors?
What is a c token and types of c tokens?
What are the advantages of union?
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
What are header files and explain what are its uses in c programming?
Explain what is meant by high-order and low-order bytes?
Is javascript written in c?
How to Throw some light on the splay trees?
Write a code to generate a series where the next element is the sum of last k terms.
What is the function of multilevel pointer in c?