without a terminator how can we print a message in a printf
() function.

Answer Posted / lucky

#include<stdio.h>
void main()
{
if(printf("hello")==0)
{}
}

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

pierrot's divisor program using c or c++ code

1736


What are local static variables?

625


Which is better between malloc and calloc?

675


Is exit(status) truly equivalent to returning the same status from main?

591


Explain how can I remove the trailing spaces from a string?

632






What is the use of gets and puts?

610


What are the ways to a null pointer can use in c programming language?

598


What is a macro?

661


What is #include stdio h?

689


What is the purpose of main() function?

664


How can I open a file so that other programs can update it at the same time?

667


Is a pointer a kind of array?

604


Can a pointer be null?

569


What is wrong with this program statement?

612


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

657