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

Which type of language is c?

1076


Why is c so powerful?

1118


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

1069


Is it fine to write void main () or main () in c?

1029


What is the difference between text and binary i/o?

1055


What is the main difference between calloc () and malloc ()?

1157


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

1145


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15816


What are high level languages like C and FORTRAN also known as?

1176


What happens if you free a pointer twice?

1084


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

2187


Compare array data type to pointer data type

1032


What is a pointer on a pointer in c programming language?

1141


How many bytes are occupied by near, far and huge pointers (dos)?

1158


What are reserved words with a programming language?

1139