write a c program to print "Welcome" without using semicolon
in the whole program ??
Answer Posted / manish soni bca 3rd year jaipu
while(printf("welcome"))
{
}
it produce the infinite loop
so plz delete this logic.
or edit it with me
#include<stdio.h>
#include<conio.h>
void main()
{
while(printf("hello"))
getch();
}
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
How do you do dynamic memory allocation in C applications?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
Are local variables initialized to zero by default in c?
Tell me can the size of an array be declared at runtime?
Explain what are header files and explain what are its uses in c programming?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
How do you redirect a standard stream?
Describe the order of precedence with regards to operators in C.
What is header file in c?
What is function prototype?
What is bubble sort in c?
Why do we use & in c?
What is the purpose of ftell?
Tell me when is a void pointer used?
Write a program to print numbers from 1 to 100 without using loop in c?