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 |
what is the height of tree if leaf node is at level 3. please explain
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
How can you determine the size of an allocated portion of memory?
program to convert a integer to string in c language'
What is the significance of an algorithm to C programming?
what is the meaning of 'c' language
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What are nested functions in c?
What is the use of parallelize in spark?
WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }
can we store values and addresses in the same array? explain
What is structure in c language?