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
Explain how can I convert a number to a string?
What is the return type of sizeof?
What are Macros? What are its advantages and disadvantages?
hi, which software companys will take,if d candidate's % is jst 55%?
What is structure padding in c?
Explain is it better to bitshift a value than to multiply by 2?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
Explain why c is faster than c++?
How is a pointer variable declared?
hi any body pls give me company name interview conduct "c" language only
Does c have an equivalent to pascals with statement?
Write a progarm to find the length of string using switch case?
Simplify the program segment if X = B then C ← true else C ← false
how is the examination pattern?