How can I make a program in c to print 'Hello' without
using semicolon in the code?
Answer Posted / jaya prakash
int main()
{
if(printf("Hello"))
{
//Null statement
}
}
| Is This Answer Correct ? | 51 Yes | 3 No |
Post New Answer View All Answers
Is r written in c?
How are variables declared in c?
What are lookup tables in c?
write a proram to reverse the string using switch case?
What does & mean in scanf?
What does node * mean?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
What is the easiest sorting method to use?
List the different types of c tokens?
What is the Purpose of 'extern' keyword in a function declaration?
Why is c so important?
Explain how do you generate random numbers in c?
Explain how does flowchart help in writing a program?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
When we use void main and int main?