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 / zerozero

Compiler error

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a copy constructor? What is the need for it?

579


What is microsoft visual c++ 2010 x86 redistributable?

556


What is difference between c++ and vc++?

699


What is cmutex?

586


Is visual c++ still used?

560






What is microsoft visual c++ 2017 redistributable?

547


What is microsoft visual c++ 2008 redistributable and do I need it?

546


How you build a project using Developer Studio?

1761


Do you need microsoft visual c++?

612


How do I uninstall visual c++?

548


Can I uninstall visual c++ 2005?

575


What is vc++ redistributable?

754


Is it ok to uninstall microsoft visual c++?

595


What is visual c++ 2010 redistributable package x64?

546


What is visual c++ redistributable?

588