difference between c and c++?
Answer Posted / k.k
.............SOME DIFFERENT ANSWER......
1) In c we declare variable at the start of block...
In c++ we can declare it any where.....
2)In c we can change value of constant variable by using
pointer...
In c++ we can not....
3)In c we can not take the address of register variable..
In c++ we can...
register int x;
printf("%d",&x);
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is the use of string in c++?
What new()is different from malloc()?
How are the features of c++ different from c?
If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?
why is c++ called oops? Explain
What are the advantages of using typedef in a program?
What is class in c++ with example?
Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
what is C++ objects?
What do the header files usually contains?
Explain the difference between abstract class and interface in c++?
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
Why do we need pointers?
What is the use of c++ programming language in real life?
In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h