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


Please Help Members By Posting Answers For Below Questions

What is ## preprocessor operator in c?

618


Why isn't it being handled properly?

647


What is the difference between memcpy and memmove?

608


Are the variables argc and argv are local to main?

793


What are the 4 types of functions?

575






Can a void pointer point to a function?

576


Is there sort function in c?

581


Is null always defined as 0(zero)?

617


what is the format specifier for printing a pointer value?

617


Explain modulus operator.

600


Where define directive used?

609


how do you execute a c program in unix.

640


How to implement a packet in C

2401


What will the preprocessor do for a program?

594


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

1589