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
Why functions are used in c?
Explain union. What are its advantages?
How do shell structures work?
Explain the difference between ++u and u++?
What are different types of operators?
What are compound statements?
When is the “void” keyword used in a function?
How was c created?
What do header files do?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
Which of these functions is safer to use : fgets(), gets()? Why?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
How many loops are there in c?
Tell me with an example the self-referential structure?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.