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...

How can I make a program in c to print 'Hello' without
using semicolon in the code?

Answer Posted / jaya prakash

int main()
{

if(printf("Hello"))
{
//Null statement
}

}

Is This Answer Correct ?    51 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is class and object in c?

1123


What does %d do in c?

965


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

2318


What is wild pointer in c?

1076


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2646


Is malloc memset faster than calloc?

1075


How are variables declared in c?

1103


What is multidimensional arrays

1130


What is the difference between array and pointer?

1027


Can include files be nested? How many levels deep can include files be nested?

1171


What is the difference between #include

and #include “header file”?

1034


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

2257


Can you pass an entire structure to functions?

1126


Is null always defined as 0(zero)?

1114


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2759