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
What is the significance of scope resolution operator?
What are the various types of control structures in programming?
What are types of preprocessor in c?
explain what are actual arguments?
What are loops in c?
How do you do dynamic memory allocation in C applications?
Write a program which returns the first non repetitive character in the string?
while initialization of array why we use a[][2] why not a[2][]...?
Why can’t we compare structures?
What is character set?
Why #include is used in c language?
Explain how do you search data in a data file using random access method?
How is a structure member accessed?
What is a file descriptor in c?
What is structure packing in c?