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

Answer Posted / dewanshu goel

#include<stdio.h>
main()
{
if(printf("the message is print without terminator"))
}

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is array name a pointer?

607


When is the “void” keyword used in a function?

840


What are the preprocessor categories?

639


What is use of pointer?

588


Which header file is essential for using strcmp function?

946






What is typedef example?

618


What the advantages of using Unions?

674


How many types of sorting are there in c?

614


What is a constant?

636


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

646


How are variables declared in c?

599


Why is sprintf unsafe?

619


What is omp_num_threads?

586


write a program in c language to print your bio-data on the screen by using functions.

6252


Can you mix old-style and new-style function syntax?

664