The code is::::: if(condition)
Printf("Hello");
Else
Printf("World");
What will be the condition in if in such a way that both
Hello and world are printed in a single attempt?????? Single
Attempt in the sense... It must first print "Hello" and it
Must go to else part and print "World"..... No loops,
Recursion are allowed........................
Answer Posted / subbu
#include<stdio.h>
int main()
{
if(!printf("Hello")
{
printf("Hello");
}
else
printf("World");
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain why C language is procedural?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
What is hash table in c?
Hai what is the different types of versions and their differences
What is the scope of local variable in c?
Why does the call char scanf work?
Explain what is meant by high-order and low-order bytes?
How are structure passing and returning implemented?
What is formal argument?
What is difference between class and structure?
What is include directive in c?
How can I copy just a portion of a string?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
Is anything faster than c?