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 visual c++ a compiler?

1033


How do I uninstall visual c++?

1034


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

1139


difference between assert and verify.

1048


What is visual c++ 2008 redistributable x64?

1084


How do I uninstall vc++ 2015?

962


What is visual c++ 2010 redistributable package x64?

1064


How do I install microsoft visual c++ 2015?

1048


Is it safe to uninstall microsoft visual c++ 2008 redistributable?

1153


What is vc++ programming?

1167


What is microsoft visual c++ 2013 redistributable package x64?

1058


What is microsoft visual c++ 2008 redistributable?

1159


What is the use of message map? Advantages of a message map.

1051


What is mfc in vc++?

1172


Explain pointer to the constant and constant pointer?

983