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
Explain how can I pad a string to a known length?
What is union and structure in c?
How many parameters should a function have?
What is pivot in c?
What are the 4 data types?
What is void main ()?
program to convert a integer to string in c language'
How do you do dynamic memory allocation in C applications?
How can you avoid including a header more than once?
List some basic data types in c?
What is a program?
Suggesting that there can be 62 seconds in a minute?
What is #pragma statements?
Why clrscr is used in c?
What is the difference between new and malloc functions?