without a terminator how can we print a message in a printf
() function.
Answers were Sorted based on User's Feedback
Answer / vijay
#include<stdio.h>
main()
{
if(Printf("Here is the message without terminator"))
{
}
}
| Is This Answer Correct ? | 19 Yes | 5 No |
Answer / dharmendra
we can make without using if,for,while statments.....
main()
{
fun(printf("\nCute Ramya !!!!!"));
}
fun(int i)
{
;;;;; i++
}
| Is This Answer Correct ? | 7 Yes | 5 No |
Answer / lucky
#include<stdio.h>
void main()
{
if(printf("hello")==0)
{}
}
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / indrani
#include<stdio.h>
void main()
{
fun(printf("\nCute Ramya !!!!!"));
}
fun(int i)
{
i++;
}
| Is This Answer Correct ? | 5 Yes | 5 No |
Answer / dewanshu goel
#include<stdio.h>
main()
{
if(printf("the message is print without terminator"))
}
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / adesh
#include<stdio.h>
#include<conio.h>
main()
{
if("adesh")
{
}
}
| Is This Answer Correct ? | 7 Yes | 10 No |
void main(int argc,char *argv[],char *env[]) { int i; for(i=1;i<argc;i++) printf("%s",env[i]); }
What are the advantages of using new operator as compared to the function malloc ()?
HOW TO FIND OUT THE RREVERS OF A GIVEN DIGIT NUMBER IF IT IS INPUT THROUGH THE KEYBORD BY USING C LANGUAGE
Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….
how to get starting address of a running C program
main() { int x=2, y=4 if ((x==2||y==4) x++ y++ if (y==4+1) { x=x+y; } y++; printf("The values of x and y are %d and %d."x,y); } What is the output?
What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?
write a program to convert a expression in polish notation (postfix) to inline (normal)
What is the meaning of c in c language?
How arrays can be passed to a user defined function
what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these
Is both getch() and getchar() functions are similar? if it is similar means why these two functions are used for same usage? if it is not similar means what is the difference?