what is the main difference between c and c++?
Answers were Sorted based on User's Feedback
Answer / piyush
c is hard to manage whereas c++ is easily managable
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sreenvasulu
c is the obeject based programing language
c++ is the obeject oreiented programing language
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sreenvasulu
c is developed by denis ritchie
c++ is developed by Bjane starusrup
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sreenvasulu reddy
c can use main() in c program
But c++ can use void main() in c++ program
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / m.reddeppa
c is stretcher oriented programing language ,
c++ is object oriented programing language.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / pravin kerai
c dose not support the c++ program but c++ support the c
program
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nagesh sharma
C++ is made adding classes with c so it is called c++
but in c classes are not available
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ishwar lal patidar
c is a old language but c++ is a new generation language.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / amit dhar
c is a procssor langauge
c++ is a oop language
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rajiv ranjan
c is low level language while c++ is sn high level language.
c++ is an extension of c language this means that you can
use not only the new features of c++ but can also use the c
programing on that. c++ is an object oriented while c is an
program oriented in whiC++ is object oriented language and
c is objecc does not support the c++ programme but c++
support the c
program.
t based.
| Is This Answer Correct ? | 0 Yes | 0 No |
how to write a java program for an output ****0 ***01 **012 *0123 01234
What is encapsulation?
What is polymorphism and its types?
I am developing a payroll system mini project.I used file concept in program for reading and writing.When the program is reloading into the memory that is if i execute next time the file was cleaned and adding data from the starting this is my problem.I want to strore the previous data and if i want to add any record that should be next of previous data.Please help me.
What is multilevel inheritance in oop?
Where is pseudocode used?
#include <stdio.h> #include <alloc.h> #include <stdlib.h> #include <conio.h> void insert(struct btreenode **, int); void inorder(struct btreenode *); struct btreenode { struct btreenode *leftchild; struct btreenode *rightchild; int data; }; main() { struct btreenode *bt; bt=(struct btreenode *)NULL; int req,i=1,num; clrscr(); printf("Enter number of nodes"); scanf("%d",&req); while(i<=req) { printf("Enter element"); scanf("%d",&num); insert(&bt,num); i++; } inorder(bt); } void insert(struct btreenode **sr, int num) { if(*sr==NULL) { *sr=(struct btreenode *)malloc (sizeof(struct btreenode)); (*sr)->leftchild=(struct btreenode *)NULL; (*sr)->rightchild=(struct btreenode *)NULL; (*sr)->data=num; return; } else { if(num < (*sr)->data) insert(&(*sr)->leftchild,num); else insert(&(*sr)->rightchild,num); } return; } void inorder(struct btreenode *sr) { if(sr!=(struct btreenode *)NULL) { inorder(sr->leftchild); printf("\n %d",sr->data); inorder(sr->rightchild); } else return; } please Modify the given program and add two methods for post order and pre order traversals.
Objective The objective of this problem is to test the understanding of Object-Oriented Programming (OOP) concepts, in particular, on encapsulation. Problem Description Create a program for managing customer’s bank accounts. A bank customer can do the following operations: 1. Create a new bank account with an initial balance. 2. Deposit money into his/her account. 3. Withdraw money from his/her account. For this operation, you need to output “Transaction successful” if the intended amount of money can be withdrawn, otherwise output “Transaction unsuccessful” and no money will be withdrawn from his/her account. Input The input contains several operations and is terminated by “0”. The operations will be “Create name amount”, “Deposit name amount”, or “Withdraw name amount”, where name is the customer’s name and amount is an integer indicating the amount of money. There will be at most 100 bank accounts and they are all created on the first month when the bank is opening. You may assume that all account holders have unique names and the names consist of only a single word. Output The output contains the transaction result of withdrawal operations and the final balance of all customers after some withdrawal and deposit operations (same order as the input). Sample Input Create Billy 2500 Create Charlie 1000 Create John 100 Withdraw Charlie 500 Deposit John 899 Withdraw Charlie 1000 0
How to create a comment page in C #??
sir plz send me a set of questions that been frequently held in written examination during campus selection.
can we make game by using c
Why static functions always uses static variables?