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...

A file a.cpp & B.cpp are complied & linked together in VC++
file a is something like int a =100;, File B is something
like extern a;
main()
{
printf("%d",a);
}what will be the output.a)100,b)linker error,c)complier
error etc etc.

Answer Posted / ashish chandrakar

It should be compiler 1 compiler error and 1 warning
Error : Undeclared identifier
we have to include stdio.h
Warning: main should return a value; but it assume as return
type as void.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I reinstall visual c++ on windows 10?

1010


Do you need microsoft visual c++?

1081


Can I delete old microsoft visual c++?

981


What is microsoft visual c++ 2017 redistributable?

1038


What is a microsoft visual c++ 2008 redistributable?

1006


How do I install microsoft visual c++ 2015?

1008


hello sir i need movie editing and mixing software .where it is available and what is the site address

2196


How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?

2255


What is microsoft visual c++ 2008 redistributable?

1111


How do I uninstall and reinstall microsoft visual c++ runtime libraries?

1105


What is a wizard?

2249


What is splitter window in vc++?

1114


How do I fix microsoft visual c++ 2015 setup failed?

1046


What is cmutex?

1000


What is cwinthread class?

1191