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
Is array name a pointer?
When is the “void” keyword used in a function?
What are the preprocessor categories?
What is use of pointer?
Which header file is essential for using strcmp function?
What is typedef example?
What the advantages of using Unions?
How many types of sorting are there in c?
What is a constant?
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 ].
How are variables declared in c?
Why is sprintf unsafe?
What is omp_num_threads?
write a program in c language to print your bio-data on the screen by using functions.
Can you mix old-style and new-style function syntax?