how to write a program which adds two numbers without using
semicolon in c
Answer Posted / g.rajitha
void main()
{
int a,b;
if(printf("Enter two numbers"))
if(scanf("%d %d",&a,&b))
if(printf("%d",(a+b)))
}
Is This Answer Correct ? | 1 Yes | 10 No |
Post New Answer View All Answers
What is static memory allocation?
What is static identifier?
will u please send me the placement papers to my mail???????????????????
what do you mean by inline function in C?
What is declaration and definition in c?
What are the advantages of c preprocessor?
Is it possible to initialize a variable at the time it was declared?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
please give me some tips for the placement in the TCS.
Are the variables argc and argv are always local to main?
Write a program to reverse a string.
What is the purpose of ftell?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What is hungarian notation? Is it worthwhile?
Do you know the purpose of 'register' keyword?