How can I make a program in c to print 'Hello' without
using semicolon in the code?
Answer Posted / rosaiah
int main()
{
if(printf("hello"))
{
\* blank*\
}
}
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
Which of these functions is safer to use : fgets(), gets()? Why?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
How can I get the current date or time of day in a c program?
What is c++ used for today?
how many errors in c explain deply
What is a macro, and explain how do you use it?
What are the uses of a pointer?
What is pointers in c with example?
What is use of integral promotions in c?
Can we assign integer value to char in c?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
What is string constants?
What is the purpose of scanf() and printf() functions?
What type of function is main ()?