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
Can we increase size of array in c?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
swap 2 numbers without using third variable?
Explain how can I prevent another program from modifying part of a file that I am modifying?
Explain main function in c?
Without Computer networks, Computers will be half the use. Comment.
What is the code for 3 questions and answer check in VisualBasic.Net?
Where are some collections of useful code fragments and examples?
How do you list files in a directory?
Explain how do you view the path?
how can I convert a string to a number?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
what is recursion in C
What are the Advantages of using macro
What is extern storage class in c?