Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How do you do dynamic memory allocation in C applications?

1083


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

1072


Are local variables initialized to zero by default in c?

1042


Tell me can the size of an array be declared at runtime?

1031


Explain what are header files and explain what are its uses in c programming?

1150


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

1119


How do you redirect a standard stream?

1100


Describe the order of precedence with regards to operators in C.

1047


What is header file in c?

1063


What is function prototype?

1131


What is bubble sort in c?

1047


Why do we use & in c?

994


What is the purpose of ftell?

1074


Tell me when is a void pointer used?

1171


Write a program to print numbers from 1 to 100 without using loop in c?

1075