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

Why functions are used in c?

1140


Explain union. What are its advantages?

1081


How do shell structures work?

1114


Explain the difference between ++u and u++?

1136


What are different types of operators?

1043


What are compound statements?

1177


When is the “void” keyword used in a function?

1504


How was c created?

1064


What do header files do?

1077


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1286


Which of these functions is safer to use : fgets(), gets()? Why?

1098


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

1088


How many loops are there in c?

1115


Tell me with an example the self-referential structure?

1022


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

2260