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

What is microsoft visual c++ used for?

964


How do I change visual code font?

1034


How do I uninstall vc++ 2015?

852


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

992


Do I need microsoft visual c++ 2005 redistributable on my computer?

1068


What is cmutex? How can we use it?

943


Do I need microsoft visual c++ on my computer?

979


What is microsoft visual c++ 2015 redistributable?

1038


Is microsoft visual c++ a virus?

1117


What is vc++ programming?

1050


What is a microsoft visual c++ 2008 redistributable?

926


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

948


What is microsoft visual c++ 2013 redistributable?

1009


What is visual c++ used for?

959


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

1097