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 the difference b/w main() in C language and main()
in C++.

Answer Posted / ayush jindal

in c & c++
the main difference is that "c" is based on top to bottom
approach.in "c"languge the header file is used as
#include<stdio.h> its also programable language.

& in c++ is based on bottom upto top approach. in c++ the
header file is used as #include<iostream.h> is used. is
also based on "object oriented program".

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a class c rental property?

1041


What is the value of c?

1008


Is there a way to switch on strings?

1027


What is the general form of #line preprocessor?

948


How many types of errors are there in c language? Explain

926


What is the Purpose of 'extern' keyword in a function declaration?

1032


Explain how does free() know explain how much memory to release?

1012


i got 75% in all semester am i eligible for your company

2171


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1676


What are data types in c language?

1011


Explain how do you print an address?

1086


What is the acronym for ansi?

997


Can we declare variable anywhere in c?

920


What is typedef?

1328


What are the 4 data types?

963