what is the difference between c and java?

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

Post New Answer

More C Interview Questions

what is pointer ? what is the use of pointer?

6 Answers   Infosys,

Hi, main() { } Is a user defined function or Built in Functionn

26 Answers   Honeywell, Yahoo,

Can u return two values using return keyword? If yes, how? If no, why?

7 Answers  

Can you think of a way when a program crashed before reaching main? If yes how?

2 Answers  

what are the 10 different models of writing an addition program in C language?

0 Answers  

What will be the output of the following program #include<stdio.h> void main() { int i=20; i-=i+++++i++; printf("%d",i); }

5 Answers  

A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

0 Answers  

How would you find a cycle in a linked list?

3 Answers   NSN,

Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }

4 Answers   Subex,

what is the role you expect in software industry?

0 Answers   HCL,

why r u join this company? give solid resons.

16 Answers   TCS, IBM, Infosys,

code for inverse a matrix

0 Answers