what is the main difference between c and c++?
Answer Posted / vivek kumar
firstly c++ takes procedural aaproah from c language
for solving prob
and oops concept from other languages like ada,simula
so it is derived from c
c basically is functional programing
in this most of data is placed globally
c++ have bottom up approach and it support data hiding
so data is secured. from unauthorized access.
| Is This Answer Correct ? | 5 Yes | 16 No |
Post New Answer View All Answers
What is coupling in oops?
Write a program to sort the number with different sorts in one program ??
i got a backdoor offer in process global,Bangalore..Can i work with it?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is the full form of oops?
to find out the minimum of two integer number of two different classes using friend function
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
Is enum a class?
What is difference between inheritance and polymorphism?
what is difference between class template and template class?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
• What are the desirable attributes for memory managment?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is byval and byref? What are differences between them?
What is the important feature of inheritance?