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
How do I reinstall visual c++ on windows 10?
Do you need microsoft visual c++?
Can I delete old microsoft visual c++?
What is microsoft visual c++ 2017 redistributable?
What is a microsoft visual c++ 2008 redistributable?
How do I install microsoft visual c++ 2015?
hello sir i need movie editing and mixing software .where it is available and what is the site address
How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?
What is microsoft visual c++ 2008 redistributable?
How do I uninstall and reinstall microsoft visual c++ runtime libraries?
What is a wizard?
What is splitter window in vc++?
How do I fix microsoft visual c++ 2015 setup failed?
What is cmutex?
What is cwinthread class?