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
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
Explain about block scope in c?
How are 16- and 32-bit numbers stored?
Are there any problems with performing mathematical operations on different variable types?
How can I manipulate individual bits?
Why c is called free form language?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
Do you know what are the properties of union in c?
hi send me sample aptitude papers of cts?
Which driver is a pure java driver
What is time null in c?
What is the difference between printf and scanf )?
Explain how can I pad a string to a known length?
What are pointers?
Tell me about low level programming languages.