Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is difference between c and c++

Answers were Sorted based on User's Feedback



what is difference between c and c++..

Answer / vignesh1988i

C C++
1) C is an structured oriented object oriented lang.
language
2) C use structures where no here it contains classes
function and data's inside where it contains both data's
involved . only outside we as well as member functions
can write functions and
initilization could be done
3) variables should be wherever we wann we can
initilized on the first line initilize the variable
after the main function

Is This Answer Correct ?    9 Yes 0 No

what is difference between c and c++..

Answer / vantees

C
1)Structured programing.
2)In build functions are used to allocate the memory dynamically.
3)Struct members are public by default.
4)Data and functions are separated.

C++
1)Object oriented programing.
2)New ,Delete operators are used to allocate the memory dynamically
3)class members are private by default.
4)Together data and functions into single entity.

Is This Answer Correct ?    9 Yes 0 No

what is difference between c and c++..

Answer / sandeep kumar

C
1)It is structured language
2)It follows Top-down approach
3)large programs are divided into small programs called
functions
4)data move openly from one function to other function

C++
1)It is a Object oriented language
2)It is not compulsory to be top-down procedure
3)large program is divided into small objects
4)data cant be accessed by external functions easily

Is This Answer Correct ?    1 Yes 0 No

what is difference between c and c++..

Answer / tapan pal

C
1)Structured programing.
2)In build functions are used to allocate the memory
dynamically.
3)Struct members are public by default.
4)Data and functions are separated.

C++
1)Object oriented programing.
2)New ,Delete operators are used to allocate the memory
dynamically
3)class members are private by default.
4)Together data and functions into single entity.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Interview Questions

how to create c progarm without void main()?

1 Answers   NIIT,


Is using exit() the same as using return?

0 Answers  


How do you define a string?

0 Answers  


#include<std.h> int main() { char *str[]={"Frogs","Do","Not","Die","They","Croak!"}; printf("%d %d\n",sizeof(str),strlen(str)); ...return 0; } what will the output of the above program?

6 Answers  


What are the valid places to have keyword “break”?

0 Answers  


what is volatile in c language?

9 Answers   Cap Gemini, HCL, Honeywell, TCS, Tech Mahindra,


What is int main () in c?

0 Answers  


What is a buffer in c?

0 Answers  


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

0 Answers  


struct abc { unsigned int a; char b; float r; }; struct xyz { int u; struct abc tt; }ww; ww = (struct xyz*)malloc(sizeof(struct xyz)); will the memory be allocated for the inner structure also?

1 Answers   Wipro,


Write a program to generate random numbers in c?

0 Answers  


what do you mean by enumeration constant?

0 Answers  


Categories