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
Are global variables static in c?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
What does typedef struct mean?
What is a lookup table in c?
what is the structure pointer?
What are types of structure?
what is uses of .net
What are the 3 types of structures?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What is static function in c?
When would you use a pointer to a function?
Explain how many levels deep can include files be nested?
Is int a keyword in c?
How is = symbol different from == symbol in c programming?