write a 'c' program to sum the number of integer values
Answer Posted / prince rafi
void main()
{
int sum,a=6,b=3;
clrscr();
sum=a+b;
printf("%d",sum);
}
getch();
}
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
How can I open files mentioned on the command line, and parse option flags?
What is strcmp in c?
How do I use void main?
Are there any problems with performing mathematical operations on different variable types?
What does volatile do?
Explain what is a pragma?
Define the scope of static variables.
Describe newline escape sequence with a sample program?
write a program to generate address labels using structures?
Are local variables initialized to zero by default in c?
Write a program of prime number using recursion.
What are the two forms of #include directive?
Write a program to print "hello world" without using a semicolon?
What are the differences between Structures and Arrays?