what is the difference between c and java?
Answer / ashu_deepu
the major difference is C is procedural language.
while java is object oriented language.
| Is This Answer Correct ? | 3 Yes | 0 No |
2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }
How can a program be made to print the line number where an error occurs?
There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,another has combination of apple and orange,what is the least way of interchange the lables.
15 Answers Cisco, Google, MBT,
What is memcpy() function?
Print the foll in C...eg when n=5 the o/p must b + + + + + + + + + + + + + + + + +
What are the main characteristics of c language describe the structure of ac program?
Explain what’s a signal? Explain what do I use signals for?
Given a number N, product(N) is the product of the digits of N. We can then form a sequence N, product(N), product(product(N))… For example, using 99, we get the sequence 99, 99 = 81, 81 = 8. Input Format: A single integer N Output Format: A single integer which is the number of steps after which a single digit number occurs in the sequence. Sample Test Cases: Input #00: 99 Output #00: 2 Explanation: Step - 1 : 9 * 9 = 81 Step - 2 : 8 * 1 = 8 There are 2 steps to get to this single digit number. Input #01: 1137638147
How do I send escape sequences to control a terminal or other device?
what is the difference between : func (int list[], ...) or func (int *list , ....) - what is the difference if list is an array and if also if list is a pointer
write a program to display the numbers in the following 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4
write a program for size of a data type without using sizeof() operator?
22 Answers HCL, IBM,