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
In C language what is a 'dangling pointer'?
Why array is used in c?
How can I handle floating-point exceptions gracefully?
Write a simple code fragment that will check if a number is positive or negative.
How are portions of a program disabled in demo versions?
Can a pointer point to null?
Why is c called c?
What's the best way of making my program efficient?
What is use of integral promotions in c?
Is a house a shell structure?
What is a volatile keyword in c?
What is #line?
Whats s or c mean?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }