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 / harish[nttf]

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

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between array_name and &array_name?

1239


Differentiate between the = symbol and == symbol?

1208


What is the difference between struct and union in C?

1241


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

1885


What are the types of i/o functions?

1252


Why c is called free form language?

970


Write a program to swap two numbers without using third variable?

1247


What is the scope of an external variable in c?

982


Explain what is the general form of a c program?

1032


What is a pointer and how it is initialized?

1082


What is variable declaration and definition in c?

856


write a program to rearrange the array such way that all even elements should come first and next come odd

2224


What header files do I need in order to define the standard library functions I use?

998


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

2262


Write a progarm to find the length of string using switch case?

2025