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 event driven software and what is procedural driven software?
In C language what is a 'dangling pointer'?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
What are structures and unions? State differencves between them.
What does c mean before a date?
What is the benefit of using const for declaring constants?
What is meant by gets in c?
what are bit fields? What is the use of bit fields in a structure declaration?
What is define directive?
What is logical error?
What are called c variables?
Which is the memory area not included in C program? give the reason
Array is an lvalue or not?
How can I find out how much free space is available on disk?
Why double pointer is used in c?