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
is it possible to create your own header files?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
Can a variable be both const and volatile?
How can I dynamically allocate arrays?
What is wrong with this initialization?
Why c is called object oriented language?
C program to find all possible outcomes of a dice?
What does void main () mean?
Why is c platform dependent?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
How do you sort filenames in a directory?
What is the difference between fread and fwrite function?
Function calling procedures? and their differences? Why should one go for Call by Reference?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
Explain why can’t constant values be used to define an array’s initial size?