in C-programming language without using printf statement
can we get output r not ? if yes how and if no also how ?
Answer Posted / shreya jha
it's possible to print something using if and without semicolon(;)
#include<stdio.h>
#include<conio.h>
int main()
{
if(printf("HELLO USER"))
{
}
getch();
return 0;
}
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are the basic data types associated with c?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
What are variables and it what way is it different from constants?
What is array in C
What is malloc calloc and realloc in c?
How can I manipulate strings of multibyte characters?
What are the properties of union in c?
how can f be used for both float and double arguments in printf? Are not they different types?
What is cohesion in c?
What is the newline escape sequence?
4. main() { int c=- -2; printf("c=%d",c); }
What is the use of extern in c?
Are enumerations really portable?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
Why we use int main and void main?