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 |
Why is sprintf unsafe?
write a program fibonacci series and palindrome program in c
0 Answers Aditi Placement Service,
can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What is meant by type specifiers?
What is sorting in c plus plus?
write a program to display all prime numbers
what is the difference between exit() and _exit() functions?
what is bitwise operator?
How many keywords are there in c?
What is an auto keyword in c?