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 calculate sum

Answer Posted / deepanshu dubey

#include<stdio.h>
#include<conio.h>
#include<math.h>
main()
{
int a,b,c;
printf("Enter two numbers\n");
scanf("%d%d",&a,&b);
c=a+b;
printf("%d\n",c);
}

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you draw circles in C?

1141


Is void a keyword in c?

972


What is getch() function?

1041


Explain how can I right-justify a string?

1032


What is an array? What the different types of arrays in c?

1153


What is difference between union All statement and Union?

1098


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

8030


Explain what is the difference between the expression '++a' and 'a++'?

1201


What is a scope resolution operator in c?

1247


Why pointers are used in c?

991


What does %c do in c?

975


What is scope and lifetime of a variable in c?

1034


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2762


What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

1241


Explain which function in c can be used to append a string to another string?

1072