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 / manjunath.goudar
//#include<stdio.h>
main()
{
if(1)
printf("hello");
else;
printf("world");
}
| Is This Answer Correct ? | 7 Yes | 33 No |
Post New Answer View All Answers
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
What is hungarian notation? Is it worthwhile?
What are the ways to a null pointer can use in c programming language?
Is c language still used?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
What is const volatile variable in c?
Can include files be nested? How many levels deep can include files be nested?
What is #define size in c?
Describe explain how arrays can be passed to a user defined function
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
When should you use a type cast?
When c language was developed?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What is function pointer c?
Explain what is the most efficient way to store flag values?