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
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
Explain bitwise shift operators?
What is volatile, register definition in C
How do I round numbers?
What is the use of function in c?
How do shell structures work?
Explain that why C is procedural?
write a program to rearrange the array such way that all even elements should come first and next come odd
Can you add pointers together? Why would you?
If the size of int data type is two bytes, what is the range of signed int data type?
Explain function?
How arrays can be passed to a user defined function
List a few unconditional control statement in c.
Explain what are the __date__ and __time__ preprocessor commands?
What are the types of pointers?