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
Difference between critical section, mutex and semaphore.
Do I need microsoft visual c++ 2005 redistributable on my computer?
How many microsoft visual c++ do you need?
What is microsoft visual c++ 2013 redistributable?
What is microsoft visual c++ 2015 redistributable package x64?
What is a microsoft visual c++ 2008 redistributable?
Is it ok to uninstall microsoft visual c++?
What is visual c++ 2008 redistributable x64?
How do I create an mfc application in vc++?
What is microsoft visual c++ 2008 redistributable and do I need it?
In which Way invoke context-sensitive help inside the editor?
How do I change visual code font?
What is splitter window in vc++?
Do I need all the microsoft visual c++ redistributable?
Is visual c++ a compiler?