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
What is ## preprocessor operator in c?
Why isn't it being handled properly?
What is the difference between memcpy and memmove?
Are the variables argc and argv are local to main?
What are the 4 types of functions?
Can a void pointer point to a function?
Is there sort function in c?
Is null always defined as 0(zero)?
what is the format specifier for printing a pointer value?
Explain modulus operator.
Where define directive used?
how do you execute a c program in unix.
How to implement a packet in C
What will the preprocessor do for a program?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f