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

Why use int main instead of void main?

1125


ATM machine and railway reservation class/object diagram

5253


How arrays can be passed to a user defined function

1024


Why is c so important?

1065


What does the characters “r” and “w” mean when writing programs that will make use of files?

1484


What is context in c?

924


What are the data types present in c?

1164


What is structure in c definition?

1056


What language is windows 1.0 written?

1068


What are local static variables?

1154


Why c is a mother language?

1041


How do you print only part of a string?

1023


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

2079


Stimulate calculator using Switch-case-default statement for two numbers

2998


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

1025