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 sum the number of integer values

Answer Posted / prince rafi

void main()
{
int sum,a=6,b=3;
clrscr();
sum=a+b;
printf("%d",sum);
}
getch();
}

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

is it possible to create your own header files?

1062


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

1014


Can a variable be both const and volatile?

1093


How can I dynamically allocate arrays?

1045


What is wrong with this initialization?

968


Why c is called object oriented language?

1020


C program to find all possible outcomes of a dice?

2299


What does void main () mean?

1196


Why is c platform dependent?

1035


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

4326


How do you sort filenames in a directory?

1131


What is the difference between fread and fwrite function?

1054


Function calling procedures? and their differences? Why should one go for Call by Reference?

1059


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1908


Explain why can’t constant values be used to define an array’s initial size?

1326