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 |
write a 'c' program to sum the number of integer values
What are the types of pointers in c?
what is a constant pointer in C
How can I read and write comma-delimited text?
What is Memory leakage ?
When is an interface "good"?
main() { printf(5+"good morning"); printf("%c","abcdefgh"[4]); }the o/p is morning and e...how someone explain
A C E G H +B D F A I ------------ E F G H D
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
write a program whose output will be- 1 12 123 1234
Tell me a C program to display the following Output? 1 1 1 1 1 2 2 2 2 3 3 3 4 4 5
Write a C program to print 1 2 3 ... 100 without using loops?