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
Is microsoft visual c++ a virus?
how to declare and populate an array of checkBoxes
What is visual c++ 2008 redistributable x64?
What is vc++ redistributable?
How do I get rid of microsoft visual c++ runtime library error?
What is microsoft visual c++ 2008 redistributable?
How do I fix microsoft visual c++ 2015 setup failed?
What is iunknown? Explain some of commonly used methods provided by iunknown.
What is vcredist_x86 exe?
How do I create an mfc application in vc++?
How do I reinstall microsoft visual c++?
Is visual c++ the same as c++?
What is cwinthread class?
How do I uninstall vc++ 2015?
What is microsoft visual c++ runtime library error?