#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a=0,b=0,c=0;
printf("enter value of a,b");
scanf("
%d %d",a,b);
c=a+b;
printf("sum is %d",c);
getch();
}
Answers were Sorted based on User's Feedback
1) int main() { unsigned char a = 0; do { printf("%d=%c\n",a,a); a++; }while(a!=0); return 0; } can anyone please explain the explain the output
What do you mean by invalid pointer arithmetic?
What is the relation between # and include<stdio.h>
Explain how can I pad a string to a known length?
print 1-50 with two loop & two print Statement
char *p="name"; printf(p);
Explain what is the general form of a c program?
progrem to generate the following series 1 12 123 1234 12345
What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1;
Write a C program to perform some of the operation which can be performed using Single linked list
write a program to find out prime number using sieve case?
why programming language C is still used in operating system's kernel??