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 to print "hai" in c?

Answer Posted / vidhya lakshmi d

#include<stdio.h>
void main()
{
printf("\"hai\"");
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me what is the purpose of 'register' keyword in c language?

994


What are the usage of pointer in c?

1179


Can we declare variable anywhere in c?

956


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

1100


Explain the difference between malloc() and calloc() in c?

1035


What are the rules for the identifier?

1151


write a program to print largest number of each row of a 2D array

2314


How can I insert or delete a line (or record) in the middle of a file?

1008


main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

1419


Where we use clrscr in c?

1120


Which is the best website to learn c programming?

1067


What are the valid places to have keyword “break”?

1080


What is size of union in c?

1004


How can I write a function analogous to scanf?

1160


What is dynamic dispatch in c++?

1041