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
How can you draw circles in C?
Is void a keyword in c?
What is getch() function?
Explain how can I right-justify a string?
What is an array? What the different types of arrays in c?
What is difference between union All statement and Union?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
Explain what is the difference between the expression '++a' and 'a++'?
What is a scope resolution operator in c?
Why pointers are used in c?
What does %c do in c?
What is scope and lifetime of a variable in c?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Explain which function in c can be used to append a string to another string?