how to write a program which adds two numbers without using
semicolon in c
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / g.rajitha
#include<iostream.h>
void main()
{
int a,b;
if(cout<<"Please enter two numbers : ")
if(cin>>a>>b)
if(cout<<"Sum = "<<(a+b))
}
| Is This Answer Correct ? | 5 Yes | 16 No |
Explain why C language is procedural?
What does 3 periods mean in texting?
implement OR gate without using any bitwise operator.
write a c program to calculate sum of digits till it reduces to a single digit using recursion
Write a Program to find whether the given number or string is palindrome.
Can static variables be declared in a header file?
What are the key features of C?
how to set Nth bit of variable by using MACRO
When do we get logical errors?
how can i calculate mean,median,mode by using c program
What is meant by preprocessor in c?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none