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

Is microsoft visual c++ a virus?

1172


how to declare and populate an array of checkBoxes

1131


What is visual c++ 2008 redistributable x64?

1040


What is vc++ redistributable?

1287


How do I get rid of microsoft visual c++ runtime library error?

1176


What is microsoft visual c++ 2008 redistributable?

1104


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

1039


What is iunknown? Explain some of commonly used methods provided by iunknown.

1085


What is vcredist_x86 exe?

1047


How do I create an mfc application in vc++?

1035


How do I reinstall microsoft visual c++?

997


Is visual c++ the same as c++?

1079


What is cwinthread class?

1186


How do I uninstall vc++ 2015?

908


What is microsoft visual c++ runtime library error?

1090