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 / nisha

If(?)
printf("hello");
else
Printf("world");

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does. int *x[](); means ?

835


What is 1d array in c?

848


How do you list a file’s date and time?

823


What is the use of ?

818


What is array in c with example?

876


What is the value of h?

803


What is the benefit of using const for declaring constants?

813


Why is c so powerful?

885


Explain what will the preprocessor do for a program?

805


Combinations of fibanocci prime series

1364


Explain the process of converting a Tree into a Binary Tree.

2404


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

2071


What library is sizeof in c?

819


Explain how do you determine whether to use a stream function or a low-level function?

850


Write a code to determine the total number of stops an elevator would take to serve N number of people.

995